예제 #1
0
 public GameInterface(Game inEngine)
 {
     tempObj = inEngine;
     InitializeComponent();
     Init2DBoard();
     p1TokenCountToolStripMenuItem.Text = "White: " + tempObj.GameBoard.p1TokenCount;
     p2TokenCountToolStripMenuItem.Text = "Black: " + tempObj.GameBoard.p2TokenCount;
 }
예제 #2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     //Application.Run(new Form1());
     Game gameEngine = new Game();
     Application.Run(new GameInterface(gameEngine));
 }