danyg/checkers-game

As a checkers-game player I want the game to constrain where the pieces can be moves so that follow the general rules of Droughts/Checkers

Opened this issue · 0 comments

danyg commented

Implement a mechanism that prevents to move the pieces to any allowed place on the board, and just move it to where that piece can go, diagonally by one, or diagonally by 2 if there is an adversary piece in the adjacent allowed place.

Aceptance Criteria

  • Can the game prevent a piece to move 2 or more places diagonally when there is no adversary place adjacent?
  • Can the game prevent to move a piece to the place in front of it or 2 or more places in front of it?
  • Can the game allow a player piece to "jump" and adversary piece when this is in one of the diagonally adjacent places to it?