The goal is to occupy the most squares on the 6x6 board by converting opponent pieces to your own. The game ends when the board is full or when a player has no valid moves.
Setup
The board is 6x6 squares.
Player (Green) starts with 4 pieces in the top-left corner.
Computer (Yellow) starts with 4 pieces in the bottom-right corner.
**Obstacles (X squares):** Five random empty squares will have an 'X'. These squares cannot be occupied, and straight jump moves cannot pass over them.
Movement Rules
On your turn, you move one of your pieces by **clicking and dragging** it to an empty square in one of four ways:
Duplicate Move: Drag your piece to an empty square that is directly adjacent (horizontally, vertically, or diagonally) to its current position. When you make this move, your original piece stays, and a new piece of yours appears on the destination square.
Straight Jump Move: Drag your piece to an empty square that is exactly two squares away (horizontally, vertically, or diagonally) from its current position, *skipping over an empty square*. When you make this move, your original piece is removed from the board, and your piece only occupies the destination square. You cannot jump over an obstacle square.
Checker Jump Move: Drag your piece to an empty square that is exactly two squares away (horizontally, vertically, or diagonally) from its current position, *skipping over any occupied square (yours or opponent's)*. When you make this move, your original piece is removed from the board, and your piece only occupies the destination square. The piece that was jumped over is NOT removed or converted by this jump. You cannot jump over an obstacle square.
Knight's Move: Drag your piece to an empty square that is two squares in one cardinal direction (horizontal or vertical) and then one square in a perpendicular direction, forming an "L" shape (e.g., 2 squares up, 1 square left). This is also a "jump" move, meaning your original piece is removed. You cannot land on an obstacle square.
Converting Pieces
After you move your piece to a new square, all opponent pieces that are bordering (adjacent, including diagonals) that *new* square will be converted and become your pieces.
Winning the Game
The game ends under two conditions:
Board Full: If all squares on the board are occupied, the game ends. The player with the most pieces wins.
No Valid Moves: If a player has no possible valid moves on their turn, the game ends immediately. The player who *just* made a move (the one who still had a move available) wins the game.
Computer's Turn
The computer will automatically make a move that attempts to convert the most of your pieces. If no conversions are possible, it will try to make a move that results in the most pieces for itself. **You will now see the computer's piece visibly move across the board.**