feat: fully functional CLI and Avalonia UI for Snake game
This commit is contained in:
@@ -7,7 +7,7 @@ internal static class ConsoleRenderer
|
||||
public static void Render(SnakeGame game)
|
||||
{
|
||||
Console.Clear();
|
||||
Console.WriteLine($"Score: {game.Score}");
|
||||
Console.WriteLine($"Score: {game.Score} Level: {game.Level}");
|
||||
|
||||
if (game.IsGameOver)
|
||||
Console.WriteLine("Game Over! Press R to restart or Q to quit.");
|
||||
|
||||
Reference in New Issue
Block a user