Esempio n. 1
0
 public void InitGameStatus()
 {
     gameResetStatus = new List <int[]>();
     for (int i = 0; i < 3; i++)
     {
         int[] game = new int[64];
         MyFormat.genPic(ref game);
         gameResetStatus.Add((int[])game.Clone());
     }
 }
Esempio n. 2
0
 public void InitTableGame(int tableIdx)
 {
     //gameResetStatus = new List<int[]>();
     tables[tableIdx].gameResetStatus = new List <int[]>();
     tables[tableIdx].gameAnswer      = new List <int>();
     for (int i = 0; i < tables[tableIdx].totalRound; i++)
     {
         int[] game = new int[64];
         MyFormat.genPic(ref game);
         tables[tableIdx].gameResetStatus.Add((int[])game.Clone());
         tables[tableIdx].gameAnswer.Add(MyFormat.countPairPic(game));
     }
     tables[tableIdx].GameStart();
     tables[tableIdx].tabelEable = true;
 }