SebLague / Chess-Challenge

Create your own tiny chess bot!
https://www.youtube.com/watch?v=Ne40a5LkK6A
MIT License
1.78k stars 1.07k forks source link

Halfmove clock does not get decriesed when using undoMove #390

Open NegaScout opened 11 months ago

NegaScout commented 11 months ago

I was able to get two FEN strings, which represent the same board, with the same full move counter, but different halfmove counters: rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1 rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 1 1 which I think is not correct.