static void Main(string[] args)
        {
            Console.WindowWidth = 120;
            CheeseNibbler CheeseGame = new CheeseNibbler();

            CheeseGame.PlayGame();
        }
Example #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();
        }
Example #3
0
        static void Main(string[] args)
        {
            CheeseNibbler myCheese = new CheeseNibbler();

            myCheese.PlayGame();

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

            game.PlayGame();
        }