private void TakeTurn(Player currentPlayer) { Board.Direction direction = Board.Direction.Default; var command = Console.ReadKey().Key; switch (command) { case ConsoleKey.DownArrow: direction = Board.Direction.Down; break; case ConsoleKey.UpArrow: direction = Board.Direction.Up; break; case ConsoleKey.LeftArrow: direction = Board.Direction.Left; break; case ConsoleKey.RightArrow: direction = Board.Direction.Right; break; case ConsoleKey.Enter: board.LockPosition(currentPlayer.getSymbol()); if (board.LockPosition(currentPlayer.getSymbol()) == false) { Console.WriteLine("That position is alrdy taken!"); TakeTurn(currentPlayer); } else { currentPlayer.getSymbol(); } break; } board.ChangePosition(direction); }