Browse Source

Moved Console.Clear()

Vsevolod Levitan 4 tháng trước cách đây
mục cha
commit
f5a7cc507e
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      Program.cs

+ 2 - 1
Program.cs

@@ -18,7 +18,6 @@ internal class Program
             AiMove(board, minmax);
 
             HumanMove(board, minmax);
-            Console.Clear();
         }
     }
 
@@ -63,6 +62,8 @@ internal class Program
         GC.WaitForFullGCComplete();
         board.PlaceCoin(Player.Human, int.Parse(Console.ReadLine()!) - 1);
 
+        Console.Clear();
+
         if (board.GetWinner() == Player.Human)
         {
             Console.WriteLine("Human Wins");