Mine Picker

Recommended levellevel
5+
About 10 years ago, an omen appeared in offices everywhere: if an employee is staring too intently at his screen and occasionally clicks with the mouse with the same intensity, he's most likely playing Minesweeper. For anyone who has forgotten, and for others who missed this era due to their age: Minesweeper is one of the most popular office games that shipped with Microsoft Windows. Even today, if you're sitting at a computer running this operating system, Minesweeper is either pre-installed (just type "Minesweeper" in the Windows search box) or you can download it free from the Microsoft Store. Many Linux builds, such as KDE and GNOME, also acquired similar games. Unlike most other "time killers", this game presents the perfect balances of logical moves and random moves, making Minesweeper very exciting and simultaneously... somewhat less pointless than other such games. So, we have a game board divided into squares. Some of them contain "mines", but we don't know how many there are or where they are. Our goal is to reveal all of the unmined squares without getting blown up. You reveal a square with a left click. If it doesn't contain a mine, then a number appears that represents the number of mines adjacent to the revealed space. Now you need to do some thinking and guess which cells can be revealed and which should be marked as mined. And so it continues until you win or explode. Windows developers created this toy to help humans learn to use the mouse (yes, there was a time when computers didn't have mice and you had to be content with just the keyboard). Actually, the history of Minesweeper stretches farther back than even Microsoft. Its predecessors were available on mainframes as early as the sixties of the last century? But we digress... Right now, we're talking about creating our own version of Minesweeper! The rules for our "probabilistic brainteaser" will be exactly those described above. We've already divided this difficult task into subtasks on CodeGym and we'll tell you what to do. Be brave.
Kommentarer (206)
  • Populära
  • Nya
  • Äldsta
Du måste vara inloggad för att lämna en kommentar
Anonymous #11806225
Nivå 0 , Braunschweig, Germany
19 June, 09:46
if you need help https://img.sparknews.funkemedien.de/241484334/241484334_1706000829_v16_9_1200.jpeg
Anonymous #11806225
Nivå 0 , Braunschweig, Germany
19 June, 09:46
you shouldd also try https://img.sparknews.funkemedien.de/241484334/241484334_1706000829_v16_9_1200.jpeg
Anonymous #11806225
Nivå 0 , Braunschweig, Germany
19 June, 09:46
really great programm https://img.sparknews.funkemedien.de/241484334/241484334_1706000829_v16_9_1200.jpeg
Sandeep Software Developer
19 December 2025, 12:29
Somehow I'm unable to get rid of this import statement error import com.codegym.engine.cell.*; public class MinesweeperGame extends Game { console: java: cannot find symbol symbol: class Game
Anonymous #11708617
Nivå 0 , Malatya, Turkey
19 October 2025, 08:27
we played this game before we hate it it is very easy (ezz) we think you should do this game more difficult and hard like hard games bye (lol)
Nolan Cormerais
Nivå 1 , France
18 October 2025, 10:16
😀yn
Anonymous #11670061
Nivå 1 , Ahmedabad, India
14 July 2025, 05:48
it should be much interesting
Anonymous #11653080
Nivå 1 , United States
14 May 2025, 19:17
do you want to play a game
José Choque
Nivå 4 , Peru
10 March 2025, 02:09
buenisimo
Kubpal
Nivå 16 , Poland
Expert
29 November 2024, 13:36
Run game runs totally different game than I set. I set 12x12 field, and it runs 3x3 game...
Nivå 0 , China
30 November 2024, 02:12
Man! What can i say