rbaltrusch / chess_ng

Full chess engine including chess AI
MIT License
3 stars 2 forks source link

Castling #16

Open rbaltrusch opened 2 years ago

rbaltrusch commented 2 years ago

Castling should be implemented and be a move possible with a rook and a king of the same side, each not having moved yet during that game. The move also needs to be fully reversible, to allow reversible look-ahead in the minimax algorithm. This likely requires some architecture changes in the way that the current ReversibleMove class is implemented.

rbaltrusch commented 9 months ago

Implementation of castling for humans is implemented via a semi-hack in commit 6031fabc4af5ae31fdc3cd64cf64b3705a90f171. Automated bots cannot castle yet.