예제 #1
0
파일: Game.cs 프로젝트: djCrafter/SnakeGame
        public void StartGame()
        {
            Console.CursorVisible = false;
            field.DrawField(ConsoleColor.Red);
            Draw(snake.snakePoints[0], SnakePart.Head);
            Console.SetCursorPosition(0, field.VerticalSize + 3);
            Controls(Console.ReadKey().Key);
            snake.Attach_the_tail();
            DrawScore(0);

            Process();
        }