This is a basic player vs. player Checkers game on the web for desktop and mobile.
This was wriiten with:
- HTML5
- CSS3
- Vanilla JavaScript
-
General rules-
- The board is 8x8.
- 2 players- one has black pieces, one has white pieces.
- Players alternate turns.
- A player may not move an opponents piece.
- Only the dark squares are used.
- Capturing is mandatory.
-
Men-
- Uncrowned men move one step diagonally forwards, and in order to capture an opponents piece it needs to move two consecutive blocks in the same line, jumping over the opponents piece.
- Multiple enemy pieces can be captured in a single turn provided this is done by successive jumps made by a single piece.
- Men can jump forward not backwards.
- You have to capture the opponents pieces.
- If you don’t capture the opponents piece that same piece will be disqualified.
-
Kings-
- A man is promoted to king when it reaches to the farthest row.
- Powers-
- Can move backwards.
- Can capture backwards.
- Can Make successive jumps in a single turn.
- The king can stop at any square after a jump in the same line.
-
Winning- The game can end in a few way:
- Winning-
- The opponent doesn’t have any more pieces.
- The opponent resigned.
- The opponent has no available moves because his pieces are blocked.
- Draw-
- If after 15 consecutive moves only the kings moved, and the amount of pieces did not change.
- Draw by agreement.
- Winning-