Ejemplo n.º 1
0
        public GameForm(int i_BoardDimension, GameManage i_GameManager)
        {
            m_GameManager    = i_GameManager;
            r_BoardDimension = i_BoardDimension;
            generateButtonMatrix();
            int formSize = ((k_ButtonSize + k_ButtonSpacing) * r_BoardDimension) + k_ButtonSpacing;

            this.ClientSize      = new Size(formSize, formSize);
            this.StartPosition   = FormStartPosition.CenterScreen;
            this.FormBorderStyle = FormBorderStyle.FixedToolWindow;
            this.Text            = " ";
        }
Ejemplo n.º 2
0
        public static void Main()
        {
            GameManage newGame = new GameManage();

            newGame.InitializeGame();
        }