thomas-maeder / popeye

Popeye is a chess problem solving and testing software with strong support for fairy chess and heterodox genres. For more information cf. topic "Popeye (chess)" on http://en.wikipedia.org/
31 stars 14 forks source link

Proofgame doesn't check if last move is legal #132

Closed thomas-maeder closed 9 years ago

thomas-maeder commented 15 years ago

When checking a proofgame, the last move isn't tested for legality.

Example: begin fors rsb1kbsr/pppp1ppp/8/4p3/5P1q/6K1/PPPPP1PP/RSBQ1BSR stip dia2.5 end

1.f2-f4 e7-e5 2.Ke1-f2 Qd8-h4 + 3.Kf2-g3 dia

Original comment by: ildjarn-is-dead

thomas-maeder commented 15 years ago

Original comment by: thomas-maeder

thomas-maeder commented 15 years ago

Thanks! Fixed.

Hard to believe that we don't have an example where this bug made a difference!

Original comment by: thomas-maeder

thomas-maeder commented 15 years ago

Original comment by: thomas-maeder