Skip to content

ricardodorosario/checkers-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

version

checkers-react

An example of checkers game using React

Checkers Screen

Rules test

  1. Each player starts with 12 pieces of the three rows closest to that player's side.
  2. Moves are allowed only on the dark squares, so pieces always move diagonally.
  3. Single pieces are always limited to forward moves (toward the opponent).
  4. A piece making a non-capturing move (not involving a jump) may move only one square.
  5. 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.
  6. Only one piece may be captured in a single jump.
  7. Multiple jumps are allowed during a single turn.
  8. When a piece is captured, it is removed from the board.
  9. If a player is able to make a capture, there is no option; the jump must be made. (TODO).
  10. If more than one capture is available, the player is free to choose whichever he or she prefers. (TODO).
  11. When a piece reaches the furthest row from the player who controls that piece, it is crowned and becomes a king.
  12. Kings are able to moving diagonally both forward and backward.
  13. 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).

Game is running on games.pokolegas.com.br