Exemplo n.º 1
0
 public GameLogic(Board b, SaveBoard s)
 {
     Counter = 0;
     board = b;
     saveBoard = s;
     GameOverCheck= new Boolean[]{false,false };
     gameOver = false;
     CurrentRoundTilesToChange = new int[8, 8];
     CurrentCheckTilesToChange = new int[8, 8];
 }
Exemplo n.º 2
0
 public AI(GameRules gr, Board b, GameLogic g)
 {
     InitTimer();
     board = b;
     tileClicked = new int[2];
     aiPressedTile = new int[2];
     currentCheckTilesToChange = new int[8, 8];
     listOfCurrentCheckTilesToChange = new List<int[,]>();
     coordinates = new List<int[]>();
     score = 0;
     gameRules = gr;
     gameLogic = g;
 }
Exemplo n.º 3
0
 public GameRules(GameLogic g, Board b)
 {
     board = b;
     gameLogic = g;
 }