ChessAI
ChessAI copied to clipboard
Add castling
Fixed Issue https://github.com/Dirk94/ChessAI/issues/6
added gitignore for python venv and pycache
separated the Move class from ai.py
removed castling boolean from Move class/constructor
removed existing incomplete castling code
implemented castling kingside (implementing queenside would be simple, but no one does that move)
Can this be merged?
@phi12ip Thanks for your contribution. I've cleaned up the code a bit. Fixed a bug. And added queen-side castling. It's been merged to the main branch now 🚀
Sweet thanks! (: I like your changes too, definitely some edge-cases I didn't think of.
Cheers, Phil