public void Start() { ConsoleKeyInfo keyInfo = Console.ReadKey(); Thread thread = new Thread(SnakeMove); thread.Start(); while (isAlive && keyInfo.Key != ConsoleKey.Escape) { keyInfo = Console.ReadKey(); snake.Change(keyInfo); } Console.Clear(); Console.ForegroundColor = ConsoleColor.DarkGreen; Console.SetCursorPosition(20, 10); Console.WriteLine("GAME OVER !!! " + "Your score : " + score); Console.ReadLine(); }