Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Console.WindowWidth = 120;
            CheeseNibbler CheeseGame = new CheeseNibbler();

            CheeseGame.PlayGame();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            CheeseNibbler test = new CheeseNibbler();
            Point         cheese;
            Point         mouse;

            for (int y = 0; y < 10; y++)
            {
                for (int x = 0; x < 10; x++)
                {
                    if (test.Grid[x, y].Status == Point.PointStatus.Cheese)
                    {
                        cheese = test.Grid[x, y];
                    }
                    else if (test.Grid[x, y].Status == Point.PointStatus.Mouse)
                    {
                        mouse = test.Grid[x, y];
                    }
                }
            }
            //test.DrawGrid();

            //test.GetUserMove();
            test.PlayGame();
        }
Exemplo n.º 3
0
        static void Main(string[] args)
        {
            CheeseNibbler myCheese = new CheeseNibbler();

            myCheese.PlayGame();

            Console.ReadKey();
        }
Exemplo n.º 4
0
        static void Main(string[] args)
        {
            CheeseNibbler game = new CheeseNibbler();

            game.PlayGame();
        }