예제 #1
0
        static void Main(string[] args)
        {
            SnakeGame s = new SnakeGame();

            s.Construct(50, 50, 10, 10, 30);

            s.Start();
        }
예제 #2
0
        static void Main(string[] args)
        {
            // Create an instance
            SnakeGame s = new SnakeGame();

            // Construct the game
            s.Construct(50, 50, 10, 10, 30);

            // Start the game
            s.Start();
        }