Beispiel #1
0
        private static void Main()
        {
            Game testGame = new Game();
            GameForm testGameForm = new GameForm(testGame);
            testGame.GameForm = testGameForm;

            AI.Game = testGame;
            AI.GameForm = testGameForm;

            Application.EnableVisualStyles();
            //Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(testGameForm);
        }
Beispiel #2
0
 public NewGameForm(GameForm mGameForm)
 {
     InitializeComponent();
     GameForm = mGameForm;
 }