made the game capable of determining checkmate