Reversi game implementation