Yay
continuous-integration/drone/push Build is passing Details

pull/99/head
Alexis Drai 3 years ago
parent cc492550e6
commit 6019a50607

@ -134,6 +134,7 @@ namespace App
Console.WriteLine($"{game.GetWhoPlaysNow()}'s turn\n" + Console.WriteLine($"{game.GetWhoPlaysNow()}'s turn\n" +
"q... quit\n" + "q... quit\n" +
"h... show history\n" + "h... show history\n" +
"s... save\n" +
"any other... throw"); "any other... throw");
menuChoicePlay = Console.ReadLine(); menuChoicePlay = Console.ReadLine();
switch (menuChoicePlay) switch (menuChoicePlay)
@ -146,6 +147,9 @@ namespace App
Console.WriteLine(turn); Console.WriteLine(turn);
} }
break; break;
case "s":
gameRunner.Add(game);
break;
default: default:
GameRunner.PlayGame(game); GameRunner.PlayGame(game);
Console.WriteLine(game.GetHistory().Last()); Console.WriteLine(game.GetHistory().Last());

Loading…
Cancel
Save