Exemple #1
0
 public void PrimaryMove(int x, int y)
 {
     if (IsGameOngoing())
     {
         var tile = grid.GetTile(x, y);
         tile.Open();
         if (tile.IsBomb())
         {
             this.state = State.Lost;
         }
         else if (tile.GetAdjacentMinesCount() == 0)
         {
         }
     }
 }