Refactoring

This commit is contained in:
Masahiko AMANO
2022-03-03 01:12:28 +03:00
parent ae8de489e3
commit 5f408f5b11
4 changed files with 68 additions and 73 deletions
+1 -2
View File
@@ -4,7 +4,6 @@
{
public static void Main(string[] args)
{
int width, height, nmines;
Game game;
while (true)
{
@@ -31,7 +30,7 @@
"Enter field width, height and number of mines separated with a space: ");
}
}
bool result = game.run();
bool result = game.Run();
if (result)
Console.WriteLine("You win! Congratulations!");
else