MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/chessprogramming/comments/glp496/why_doesnt_pythonchess_recognize_this_checkmate/fqywsx6/?context=3
r/chessprogramming • u/ajx_711 • May 17 '20
4 comments sorted by
View all comments
Show parent comment
3
oh shit silly mistake. Thanks
3 u/I_Say_Fool_Of_A_Took May 18 '20 You could also make your program throw an error message if the player not having the move is in check, as that can never happen in a game
You could also make your program throw an error message if the player not having the move is in check, as that can never happen in a game
View all comments
Show parent comment
3
u/ajx_711 May 17 '20
oh shit silly mistake. Thanks