Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [minesweeper]

This challenge is directly related to solving, generating, or otherwise working with the minesweeper game.

Filter by
Sorted by
Tagged with
5 votes
3 answers
400 views

Clicks for minesweeper [duplicate]

Given a mine map of minesweeper, output how many left clicks at least needed to win the game. Each left click reveals a cell, and if there's no mine in the 3x3 range, recursively reveal nearby 3x3 ...
l4m2's user avatar
  • 32.2k
14 votes
12 answers
3k views

3 Dimensional Minesweeper

3-Dimensional Minesweeper I've been on a minesweeper kick for a while, but all the questions are for 2 dimensions (or that one in 1D). But 2D is 2 easy! Challenge Write the shortest code possible to ...
pacman256's user avatar
  • 5,375
26 votes
9 answers
4k views

Play 1D minesweeper

Your input is an array of integers in the range [-1,4]. An array element of -1 means that there might be a bomb in that position....
AnttiP's user avatar
  • 8,048
17 votes
8 answers
731 views

Recover boolean cells from windowed sums

Background In Minesweeper, you will often encounter a horizontal or vertical wall of one's and two's (not yet revealed cells are marked as ?): ...
Bubbler's user avatar
  • 79.2k
32 votes
22 answers
7k views

What surrounds my Minesweeper tile?

Minesweeper is a puzzle game where mines are hidden around a board of nondescript tiles with the goal of identifying the location of all mines. Clicking on a mine loses the game, but clicking on any ...
aoemica's user avatar
  • 923
5 votes
1 answer
853 views

Minesweeper Wars [closed]

We've had problems to generate minesweeper games. We've had problems to solve these minesweeper games. Now... It's time to battle other people on a minesweeper game! Your program must be run in Java....
hyperneutrino's user avatar
  • 42.7k
31 votes
7 answers
2k views

Can I sweep the mines?

Minesweeper is a popular puzzle game where you must discover which tiles are "mines" without clicking on those tiles. Instead, you click on nearby tiles to reveal the number of adjacent ...
DJMcMayhem's user avatar
58 votes
21 answers
4k views

Fill in the Minesweeper clues

Minesweeper is a popular puzzle game where you must discover which tiles are "mines" without clicking on those tiles. Each tile is either a mine (represented by *) ...
DJMcMayhem's user avatar
20 votes
8 answers
1k views

Minesweeper At Work

Everyone knows the old minesweeper game that shipped with Windows XP. It's a simple grid with a 9x9 matrix of cells containing either a number (indicating how many mines are adjacent to it) or a mine. ...
Aaron's user avatar
  • 1,259
21 votes
4 answers
3k views

Calculate the 3BV of a Minesweeper Board

The 3BV of a Minesweeper board represents the minimum number of left clicks required to solve the board if you already know the solution. It stands for "Bechtel's Board Benchmark Value". ...
mbomb007's user avatar
  • 23.6k
34 votes
7 answers
3k views

Invert a Minesweeper Board

Minesweeper is a popular computer game that you have probably wasted time playing where you try to reveal the cells that are mines in a rectangular grid based on hints of how many neighboring mines ...
Calvin's Hobbies's user avatar
35 votes
11 answers
3k views

Verify a Minesweeper board

Your goal is to check whether a completed Minesweeper board is valid. This means that each number is a correct count of mines in cells adjacent to it, including diagonals. The board does not wrap ...
xnor's user avatar
  • 149k
6 votes
3 answers
2k views

Optimal Minesweeper on the Largest Board

Overview: Your challenge is to write a program that will play minesweeper optimally, giving the best move in any position. Moreover, you must do this on the largest board possible. Game details: ...
izzyg's user avatar
  • 42.3k
35 votes
1 answer
4k views

Minesweeper Solver

We already generated Minesweeper fields, but someone really has to sweep those generated mines before PCG blows up! Your task is to write a Minesweeper Solver that is compatible with a slightly ...
TimWolla's user avatar
  • 1,960
13 votes
6 answers
2k views

Working Minesweeper

Similar to generating minesweeper grids, although the challenge is to make a working minesweeper grid. This will be longer code than normal (I think). more information on minesweeper. Minesweeper ...
EAKAE's user avatar
  • 175

15 30 50 per page
Morty Proxy This is a proxified and sanitized view of the page, visit original site.