private void DrawHud()
        {
            ConsoleEx.WriteCoord(0, 21);
            ConsoleEx.WriteLine(game.GetWinMessage());

            Draw.Line(ConsoleEx.Width / 2, 0, ConsoleEx.Width / 2, ConsoleEx.Height, '│');

            ConsoleEx.WriteCoord(2, 24);
            if (game.CheckWin() == WinType.None)
            {
                ConsoleEx.WriteLine("R: Use ROCK");
                ConsoleEx.WriteLine("S: Use SCISSORS");
                ConsoleEx.WriteLine("P: Use PAPER");
            }
            else
            {
                ConsoleEx.WriteLine("ANY KEY: Reset");
            }
        }
Exemple #2
0
 private void DrawHud()
 {
     ConsoleEx.WriteCoord(2, (game.Map.Size * 5) + 1, "");
     ConsoleEx.WriteLine(game.GetWinMessage());
     ConsoleEx.WriteLine(game.GetBrickMessage());
 }