mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-23 07:29:02 -08:00
Added missing start of turn output
This commit is contained in:
@@ -22,6 +22,8 @@ namespace Game
|
||||
|
||||
for (var round = 1; round <= rounds; ++round)
|
||||
{
|
||||
View.ShowStartOfRound(round);
|
||||
|
||||
if (!HumanTakesTurn())
|
||||
return;
|
||||
|
||||
|
||||
@@ -18,15 +18,6 @@ namespace Game
|
||||
Console.WriteLine();
|
||||
}
|
||||
|
||||
public static void ShowStartOfRound(int roundNumber)
|
||||
{
|
||||
Console.WriteLine();
|
||||
Console.WriteLine($"ROUND NUMBER {roundNumber} ----");
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("GUESS MY COMBINATION.");
|
||||
Console.WriteLine();
|
||||
}
|
||||
|
||||
public static void ShowTotalPossibilities(int possibilities)
|
||||
{
|
||||
Console.WriteLine($"TOTAL POSSIBILITIES = {possibilities}");
|
||||
@@ -45,6 +36,15 @@ namespace Game
|
||||
Console.WriteLine();
|
||||
}
|
||||
|
||||
public static void ShowStartOfRound(int roundNumber)
|
||||
{
|
||||
Console.WriteLine();
|
||||
Console.WriteLine($"ROUND NUMBER {roundNumber} ----");
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("GUESS MY COMBINATION.");
|
||||
Console.WriteLine();
|
||||
}
|
||||
|
||||
public static void ShowBoard(IEnumerable<TurnResult> history)
|
||||
{
|
||||
Console.WriteLine();
|
||||
|
||||
Reference in New Issue
Block a user