diff --git a/Projects/Dice Game/Program.cs b/Projects/Dice Game/Program.cs index 72c5b13f..3c61b6c9 100644 --- a/Projects/Dice Game/Program.cs +++ b/Projects/Dice Game/Program.cs @@ -9,7 +9,7 @@ { Console.WriteLine("Press any key to roll the dice:"); - Console.ReadKey(); + Console.ReadKey(true); int playerRandomNum = random.Next(1, 7); Console.WriteLine("You rolled a " + playerRandomNum); @@ -52,4 +52,4 @@ Console.WriteLine("This game is a draw."); } -Console.ReadKey(); +Console.ReadKey(true);