Minesweeper Cave


Today, I am presenting a hybrid between two popular styles, minesweeper and cave. Instructions follow: Place a mine into some of the empty cells so that each number represents the total count of mines in neighboring cells, including diagonally adjacent cells. Cells with numbers cannot contain mines. Additionally, all of the mines must form a single group of contiguous cells, the cave, each cell reachable from every other cell moving horizontally or vertically. All unshaded cells (cells that do not have a mine) must be connected to the edge of the grid through other unshade cells.