MitchelPaulin / Walleye

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

Walleye is not able to checkmate with king and rook and gets into a loop #16

Open Dopplerian opened 2 years ago

Dopplerian commented 2 years ago

For the following input command: ./walleye -P -f '4k3/8/8/8/8/8/8/4K2R w - - 0 1' The engine is unable to checkmate and also gets into an infinite loop where the threefold repetition rule seems not to apply.

MitchelPaulin commented 2 years ago

This is because walleye has no end game table base which is something that would likely give it a good elo bump if implemented. Or if you put it in a gui and gave it more time it would likely find the mate, IIRC its 1 second per move in the CLI version, I also don't think draws or checkmate terminates the CLI version which is something that should be fixed