Example #1
0
 public void Draw()
 {
     Console.Clear();
     snake.Draw();
     food.Draw();
     wall.Draw();
 }
Example #2
0
 public void Draw()
 {
     food.Draw();
     snake.Draw();
     Console.SetCursorPosition(22, 31);
     Console.ForegroundColor = ConsoleColor.Cyan;
     Console.Write("Food: {0}, level: {1}", Game.snake.body.Count(), level);
     if (level == 1)
     {
         wall.Draw();
     }
 }