You should add draws by 3 fold repetition. That means when a position has been reached for a 3rd time (usually by shuffling the same 2 pieces back and forth) the game is called a draw.
I used the scholar's mate to defeat the bot. If you don't know how that works, it's when white does something like 1.e4 a5 2.Qf3 b6 3.Bc4 h6 4.Qxf7# or 1.e4 e5 2.Qa5 Bd6 3.Bc4 a5 4.Qxf7#
Comments
Log in with itch.io to leave a comment.
You should add draws by 3 fold repetition. That means when a position has been reached for a 3rd time (usually by shuffling the same 2 pieces back and forth) the game is called a draw.
Normal doesn't protect it's self against check mate. :/
Checkmated all of the bot with 3 moves each.
Thanks for your feedback @CodeNick. I will take a look at the check protection issue for the normal bot 👍
I used the scholar's mate to defeat the bot. If you don't know how that works, it's when white does something like 1.e4 a5 2.Qf3 b6 3.Bc4 h6 4.Qxf7# or 1.e4 e5 2.Qa5 Bd6 3.Bc4 a5 4.Qxf7#