private void DoUncover(Tile tile)
{
if (tile.isMine()) {
return;
}
// Score 1 for this tile if it has a value of 0
if (tile.Value == 0) {
currentScore++;
}
// upper left
DoNeighbor(tile, Neighbors.UpperLeft);
// above
DoNeighbor(tile, Neighbors.Above);
// upper right
DoNeighbor(tile, Neighbors.UpperRight);
// left
DoNeighbor(tile, Neighbors.Left);
// right
DoNeighbor(tile, Neighbors.Right);
// lower left
DoNeighbor(tile, Neighbors.LowerLeft);
// below
DoNeighbor(tile, Neighbors.Below);
// lower right
DoNeighbor(tile, Neighbors.LowerRight);
}