[][src]Module backgammon::game

This module implements a Backgammon game

Structs

Game

This represents a single backgammon game

State

State holds the situation and the accounting information

Functions

roll

roll generates two random numbers between 1 and 6, replicating a perfect dice. We use the operating systems random number generator.