Exemplo n.º 1
0
    public int NextLocation()
    {
        var currentLocation = Array.IndexOf(Board, CurrentPlayer.CurrentLocation);
        var nextLocation    = currentLocation + DiceRoller.CurrentRoll();

        return(nextLocation > 39 ? nextLocation - 40 : nextLocation);
    }