An example of checkers game using React
- Each player starts with 12 pieces of the three rows closest to that player's side.
- Moves are allowed only on the dark squares, so pieces always move diagonally.
- Single pieces are always limited to forward moves (toward the opponent).
- A piece making a non-capturing move (not involving a jump) may move only one square.
- A piece making a capturing move (a jump) leaps over one of the opponent's pieces, landing in a straight diagonal line on the other side.
- Only one piece may be captured in a single jump.
- Multiple jumps are allowed during a single turn.
- When a piece is captured, it is removed from the board.
- If a player is able to make a capture, there is no option; the jump must be made. (TODO).
- If more than one capture is available, the player is free to choose whichever he or she prefers. (TODO).
- When a piece reaches the furthest row from the player who controls that piece, it is crowned and becomes a king.
- Kings are able to moving diagonally both forward and backward.
- The game ends when all the opponent's pieces were captured or when in 10 turns, no one was captured. In this case, the player who have mores pieces wins. (TODO).