Esempio n. 1
0
 public Game(TableLayoutPanel tableLayoutPanel1)
 {
     this.tableLayoutPanel1 = tableLayoutPanel1;
     board = new Board(tableLayoutPanel1);
     ttt   = new ModuleTTT.TicTacToe {
         AIEngine = new AIEngine()
     };
 }
Esempio n. 2
0
 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);
 }