The classic board game programmed in scala
Draughts is played by two opponents, on opposite sides of the gameboard. One player has the dark pieces; the other has the light pieces. Players alternate turns. A player may not move an opponent's piece. A move consists of moving a piece diagonally to an adjacent unoccupied square. If the adjacent square contains an opponent's piece, and the square immediately beyond it is vacant, the piece may be captured (and removed from the game) by jumping over it.
Only the dark squares of the checkered board are used. A piece may move only diagonally into an unoccupied square. When presented, capturing is mandatory in most official rules, although some rule variations make capturing optional.[3] In almost all variants, the player without pieces remaining, or who cannot move due to being blocked, loses the game.
Plays for all stones:
- One step diagonal forward.
Strike possibilities for all stones:
- Any number of enemy stones, forward or backward.
Impact compulsion:
- As many opposing stones as possible must be captured.
Plays for the King:
- Any number of steps, forward or backward.
Strike possibilities of the King:
- The King must move directly behind the stone that has been hit.