mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-23 15:37:51 -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)
|
for (var round = 1; round <= rounds; ++round)
|
||||||
{
|
{
|
||||||
|
View.ShowStartOfRound(round);
|
||||||
|
|
||||||
if (!HumanTakesTurn())
|
if (!HumanTakesTurn())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
@@ -18,15 +18,6 @@ namespace Game
|
|||||||
Console.WriteLine();
|
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)
|
public static void ShowTotalPossibilities(int possibilities)
|
||||||
{
|
{
|
||||||
Console.WriteLine($"TOTAL POSSIBILITIES = {possibilities}");
|
Console.WriteLine($"TOTAL POSSIBILITIES = {possibilities}");
|
||||||
@@ -45,6 +36,15 @@ namespace Game
|
|||||||
Console.WriteLine();
|
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)
|
public static void ShowBoard(IEnumerable<TurnResult> history)
|
||||||
{
|
{
|
||||||
Console.WriteLine();
|
Console.WriteLine();
|
||||||
|
|||||||
Reference in New Issue
Block a user