Module backgammon::rules
source · Expand description
Implements the board, the dices, the cube, and all other Backgammon rules
Structs
- Represents the Backgammon board
- Represents the Backgammon board for both players (to be used for graphical representation).
- Represents a Backgammon cube (doubling cube).
- Represents the two dices
- Holds all the rule settings
Enums
- Represents a player in the game.
Traits
- Allows to modify the rules
- Allows to modify the rules
- Trait to move checkers
- Trait to roll the dices