studyopenings icon indicating copy to clipboard operation
studyopenings copied to clipboard

Why are these 2 lines considered illegal moves?

Open mikestefanello opened this issue 5 years ago • 2 comments

Really awesome tool you created. Exactly what I was looking for.

I was able to import 1 pgn successfully. The other is having a lot of problems (even though it came from chessable). I condensed it as much as possible to get it to allow to be imported, but even these 2 lines alone are throwing errors about illegal moves:

[White "103"]

1. c4 e5 2. g3 Nc6 3. Bg2 f5 4. Nc3 Nf6 5. e3 e4 6. d3 Bb4 7. Nge2 Ne5 8. dxe4

[White "104"]

1. c4 e5 2. g3 Nc6 3. Bg2 f5 4. Nc3 Nf6 5. e3 e4 6. d3 Bb4 7. Nge2 d5 8. O-O

Maybe I'm missing the problem?

Thanks

mikestefanello avatar Mar 10 '20 02:03 mikestefanello

If I switch Nge2 with Ne2 it works.

mikestefanello avatar Mar 10 '20 02:03 mikestefanello

So, it seems to work because Ncg2 is considered illegal given the pin; but the move should still pass validation because that move is legal, it just technically doesn't need the g in it.

mikestefanello avatar Mar 10 '20 02:03 mikestefanello