MitchelPaulin / Walleye

A chess engine written from scratch in Rust ♞
MIT License
121 stars 6 forks source link

50 move rule does not seem to be implemented #17

Closed Dopplerian closed 2 years ago

Dopplerian commented 2 years ago

For the following command: 4k3/8/8/8/8/8/8/4K2R w - - 99 1 The engine should only play 1 move and then draw in accordance to the 50 move rule, but it keeps playing anyway. I've checked the code and it doesn't seem to have this rule implemented anywhere.

MitchelPaulin commented 2 years ago

Thats correct, there is no check for the 50 move rule, only 3 fold is checked. This is on the list of things to do if I do get around to it but since it occurs so seldomly in real games that its low priority