Example #1
0
 private static void Main()
 {
     using (var game = new MatchGame())
     {
         game.Run();
     }
 }
Example #2
0
        public MatchGame()
        {
            Graphics = new GraphicsDeviceManager(this)
            {
                PreferredBackBufferHeight = 600,
                PreferredBackBufferWidth  = 500
            };

            Content.RootDirectory = "Content";
            IsMouseVisible        = true;
            Instance = this;
        }