public Game(TableLayoutPanel tableLayoutPanel1) { this.tableLayoutPanel1 = tableLayoutPanel1; board = new Board(tableLayoutPanel1); ttt = new ModuleTTT.TicTacToe { AIEngine = new AIEngine() }; }
private void Form2_Load(object sender, EventArgs e) { board = new Board(tableLayoutPanel1); ttt = new ModuleTTT.TicTacToe { AIEngine = new AIEngine() }; ttt.NewGame(size, winLine); board.Resize(size); board.SetPics(BoardMouseUp); }