ChessAI icon indicating copy to clipboard operation
ChessAI copied to clipboard

How to use Castling?

Open ChenSirN opened this issue 4 years ago • 1 comments

I found that this code can not use Castling. Have you any way?

ChenSirN avatar Aug 03 '21 12:08 ChenSirN

It's currently not implemented. Feel free to implement it and open a pull request. I suggest checking out the get_possible_moves method in the Rook class: https://github.com/Dirk94/ChessAI/blob/master/pieces.py#L128

Dirk94 avatar Oct 16 '21 14:10 Dirk94

Merged in #9

Dirk94 avatar Feb 15 '23 10:02 Dirk94