One small note: I tried to castle, and was told "Castling is not allowed because your king was previously in check."
This isn't one of the rules of castling in regular chess. [1]
Also, it would be nice to implement the three-same-position draw, since I got trapped in a cycle of just moving my king back and forth forever.
1. https://en.wikipedia.org/w/index.php?title=Castling#Requirem...