Skip to main content

Questions tagged [minesweeper]

A timed, single-player puzzle game, where the objective is to clear all spaces from a field that do not contain a mine.

Filter by
Sorted by
Tagged with
4 votes
1 answer
1k views

How to make Minesweeper always reveal a large area on first click?

I'm making a Minesweeper app. I read that if you click mine on the first turn, Windows Minesweeper moves that mine to the top left corner. It's simple, but I can't find an easy way to always reveal a '...
Dikzamen's user avatar
0 votes
1 answer
168 views

What could I use to search tiles in a game [duplicate]

I'm creating a tile based game similar to Minesweeper. When a user clicks on a tile and its not a mine or a number space I need to search and expose the adjacent tiles that are empty and stop when it ...
Jason Crosby's user avatar
0 votes
1 answer
369 views

AI for Minesweeper like game

I am currently developing a Puzzle/RPG game which works a little bit like Minesweeper. You have a Field of Tiles and 2, 3 or 4 different colors from which you can choose. Now you have to uncover tiles ...
M0rgenstern's user avatar
-2 votes
2 answers
1k views

Minesweeper number placement [closed]

My professor gave us a project: make a minesweeper clone. However, he said that he will give bonus points for the 3 fastest algorithms for board generation. I'm currently doing the algorithm that ...
userx01's user avatar
  • 346
5 votes
1 answer
5k views

How should I calculate the score in Minesweeper: 3BV or 3BV/s?

I'm designing a minesweeper game, and I'm a bit confused as to how to calculate the score. The objective of my game is to reveal all the non-flagged boxes. Marking the flag must not count toward the ...
meteors's user avatar
  • 165
1 vote
1 answer
6k views

OpenGL resize problems

I'm developing a minesweeper game. I'm having a problem with reshaping(resize) the window. I'm using Ubuntu Linux. Following are the code snippets and the entire code is here: This is my initializing ...
meteors's user avatar
  • 165
4 votes
2 answers
670 views

Minesweeper: Mouse listener problem

I have wrote a code for game Minesweeper and there is no problem with the graphics,but there is some problems with MouseListener. Here is my code ...
hingev's user avatar
  • 143
2 votes
3 answers
1k views

Stuck in an infinite recursion in Minesweeper

I am trying to build a simple minesweeper game. The game gets stuck in an infinite recursion whenever a user clicks on a tile which is not a mine... I have used the following function code for the ...
Tanuj Wadhwa's user avatar
4 votes
1 answer
2k views

Issue with implemented Minesweeper algorithm

So I'm attempting to learn Python by way of Minesweeper. I've got experience with SDL, so I figured playing around with PyGame sounded like a fun way to learn the syntax of the language. Anywho, I'm ...
erik's user avatar
  • 1,378