public GameController() { Random generator = new Random(); whoIsFirst = generator.Next(1,101); gameModel = new GameModel(2); gameView = new GameView(); if(whoIsFirst%2 == 0) { gameModel.ComputerMove(); } gameView.Refresh(gameModel.Board); foreach (Button button in gameView.Board) { button.Click += new System.EventHandler(MakeMove); } Application.Run(gameView); }