About
This is OneMillionMines.com, the first-ever online-multiplayer Minesweeper grid containing 1 million mines.
On this page
- How to play
- Changelog
- Reporting bugs & requesting new features
- Cookies & Privacy
- Credits and third-party usage notice
How to play
One million mines have been placed randomly in a grid. The game starts with most cells (or "squares") covered, so you don't know where they are ! Your mission is to mark squares containing a mine with a flag and open empty squares. An opened empty square will display the number of mines in adjacent squares, making it a game of pure logic and deduction rather than chance. The game ends when all empty squares have been opened.
You may interact with the game in the following ways:
- set or unset ("toggle") a flag on a covered square
- open a covered square that is not marked with a flag
- open adjacent squares of an empty opened square
- jump somewhere else in the grid using the jump button 🎲
Note that the "open adjacent squares" action will only work if the number of flags in the adjacent squares matches the number displayed in the target empty square.
Opening a square containing a mine will kill you.
Well, not in the actual sense of the term.
But you will be prevented from playing for a small period of time, ranging from 10 seconds
to 15 minutes; just to teach you a lesson.
Playing on a computer
The mouse controls are:
- right-button click: toggle the flag marker on a covered square
- middle-button click: open adjacent squares
- left-button click: open a covered square, or (when clicking on an empty square) open adjacent squares
- mouse wheel: zoom in or out
- left-button: hold the button down and move the mouse to move on the grid
Playing on smartphone
(hopefully it works)
- tap on a covered square: toggle the flag marker
- tap on an empty square: open adjacent squares
- long-press on a covered square: open the square
- move and zoom on the grid by doing the standard "gestures" (a.k.a. pan & pinch)
Changelog
v1.0: initial release.
Reporting bugs & requesting new features
You may report bugs or suggest new features in the project bug tracker on GitHub.
Cookies & Privacy
We don't use cookies, we eat them.
Your position on the grid is saved in the URL's fragment (the part of the URL after the "#" sign).
Your zoom-level is stored locally and is likely to be lost when the cache is cleared (for example, when
closing your browser).
No personal information is collected.
Credits and third-party usage notice
Client-side game logic and communication with the server is mostly implemented in C++ (and compiled to WebAssembly using the emscripten toolchain).
Grid generation is heavily inspired by the "Mines" game from Simon Tatham's Portable Puzzle Collection (MIT-licensed).
The grid generator, and most specifically the solver, was basically rewritten from scratch (and from C to C++) to support generation of 1-million-mine grids.