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