Reversi is played on a board made up of 64 tiles in an 8x8 grid. Two players take turns placing pieces on the board and trying to flip their opponents' pieces.
Pieces are flipped when they become sandwiched between the opposing players' pieces. The player who has the highest score when neither player can move is the winner!
Fix invalid CPU play.