Open-Source-Project-Collaboration / board-game-playing-ai

Chess AI using Neural Network and Min/Max algorithm and tree pruning
6 stars 3 forks source link

Invalid Castling #16

Open anarmawala opened 4 years ago

anarmawala commented 4 years ago

Castling should not be allowed while the king is checked

Brikaa commented 4 years ago

We will do so once we have a check/checkmate algorithm. We will also not allow the king to castle into or through check.