bsamseth / Goldfish

Goldfish - Stockfish's very distant and not so bright cousin - a UCI chess engine
MIT License
7 stars 2 forks source link

Castling #10

Closed bsamseth closed 8 years ago

bsamseth commented 8 years ago

Castle moves should be found and considered legal in the right circumstances. Both do- and undoMove has been modified to work with castling.

bsamseth commented 8 years ago

Coverage decrease is due to verbose and branched code in the castling implementation. Should add more tests to make sure there are no copy-paste errors etc.