public void DoMove(Move move, int player) { if (Board[move.GetX(), move.GetY()] == 0) { Board[move.GetX(), move.GetY()] = player; } else { Console.WriteLine("Invalid Move\n"); } }
public void UndoMove(Move move) { Board[move.GetX(), move.GetY()] = 0; }