Пример #1
0
 public void GameStart(bool multi)
 {
     botoes[0].SetActive(false);
     botoes[1].SetActive(false);
     BG.SetActive(true);
     TicTacToeGrid = new char[SIZE, SIZE];
     BuildBoard();
     CamPos();
     char[,] dummy = new char[SIZE, SIZE];
     gameStep      = (SIZE * SIZE) - 1;
     dummy         = TicTacToeGrid;
     isMultiplayer = multi;
     isHuman       = true;
     PlaceXorO(dummy);
     ai.Init('2', '1');
     GameStarted = true;
 }