This game has 2 playing mode: 1. Play with AI, 2. Two players
*** Game Setup ***
Board: An 8x8 grid board.Pieces: Red on one side and blue on the other.
Opening: At the start of the game, the center four squares must be filled with two red and two blue pieces, placed diagonally.
Game RulesTurn Order: The red player moves first, and players take turns placing their pieces.
Valid Moves: A newly placed piece, in conjunction with an existing piece of the same color on the board, must trap the opponent's pieces in between them along any of the eight directions (horizontal, vertical, or diagonal).
Flipping Pieces: Once the opponent's pieces are successfully trapped, all the trapped pieces in the middle must be flipped to the player's own color.
No Valid Moves: If a player has no valid move positions on their turn, that player must "pass" their turn, and the opponent continues.
Determining the Winner: The game ends when the board is completely full or when neither player can make a valid move. The player with more pieces of their color on the board wins.
Reversi - Red for Player, BLue for Android device