|
|
@ -205,7 +205,7 @@ static void MenuSwitch(Game game)
|
|
|
|
enter = 3;
|
|
|
|
enter = 3;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case 3:
|
|
|
|
case 3:
|
|
|
|
WriteLine("Your score on this turn : " + game.GetPlayerScore(game.GetPlayingPlayer(), game.CellsUsed, game.GetBoard()));
|
|
|
|
WriteLine("Your score on this turn : " + game.GetPlayerScore(game.GetPlayingPlayer(), game.CellsUsed, game.Board));
|
|
|
|
game.EmptyCellUsed();
|
|
|
|
game.EmptyCellUsed();
|
|
|
|
game.DrawTiles(game.GetPlayingPlayer());
|
|
|
|
game.DrawTiles(game.GetPlayingPlayer());
|
|
|
|
game.CheckGameOver(game.GetPlayingPlayer());
|
|
|
|
game.CheckGameOver(game.GetPlayingPlayer());
|
|
|
@ -216,7 +216,7 @@ static void MenuSwitch(Game game)
|
|
|
|
|
|
|
|
|
|
|
|
static void ShowBoard(Game game)
|
|
|
|
static void ShowBoard(Game game)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Board board = game.GetBoard();
|
|
|
|
Board board = game.Board;
|
|
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < board.Rows; i++)
|
|
|
|
for (int i = 0; i < board.Rows; i++)
|
|
|
|
{
|
|
|
|
{
|
|
|
|