Exemplo n.º 1
0
 internal static List <OneStep> StartNextTurn(Cubes cubes, Color color, Player currentPlayer, Board board)
 {
     currentRoll = new List <int>();
     currentRoll.Add(cubes.cube1);
     currentRoll.Add(cubes.cube2);
     if (cubes.cube2 == cubes.cube1)
     {
         currentRoll.Add(cubes.cube1);
         currentRoll.Add(cubes.cube1);
     }
     return(returnPossabilities(board, color.currentColor, currentPlayer));
 }
Exemplo n.º 2
0
 public Cubes getCubes()
 {
     cubes = new Cubes();
     cubes.getNewCubes();
     return(cubes);
 }