public string Roll() { Cubes = CubesGenerator.Generate(); Steps = CubesToStepsConverter.Convert(Cubes); // print values of cubes: return(TempGamePrinter.CubesValuePrint(Steps)); }
public Game(string blackPlayerName, string whitePlayerName) { Cubes = CubesGenerator.Generate(); Steps = CubesToStepsConverter.Convert(Cubes); Board = new Board(); Turn = Turn.Black; Move = ChoosenMoveDetails.Instance; //Init players: BlackPlayer = new BlackPlayer() { UserName = blackPlayerName }; WhitePlayer = new WhitePlayer() { UserName = whitePlayerName }; }