- typescript v3 or later (if you choose the compile option below)
- a non-ancient browser
Enjoy the published version of the game at theminesweeper.com. You can also install it as a progressive web app!
Simply download the asset from the latest release, unzip, and then open index.html.
Clone, go to the root project directory and run:
$ tsc
After that open the index.html.
| Setting | Options | Default |
|---|---|---|
| mode | beginner, intermediate, expert |
expert |
| first click * | guaranteed non-mine, guaranteed cascade |
guaranteed cascade |
| dark mode | enabled, disabled |
enabled |
| debug ** | true, false |
false |
* considered only for new game
** will probably not become available to the user
| Mode | Rows | Columns | Mines |
|---|---|---|---|
beginner |
9 | 14 | 10 |
intermediate |
16 | 16 | 40 |
expert |
16 | 30 | 99 |
| Option | Meaning |
|---|---|
guaranteed non-mine |
the first clicked cell has a value between 0 and 8 |
guaranteed cascade |
the first clicked cell has a value of 0 |
| Option | Mode | State *** |
|---|---|---|
| from a URL | from settings | random |
| from a URL with a hash | from hash | from hash |
| new game (reset) | from current board | random |
| replay | from current board | from current board |
*** The state represents the positioning of the mines
Please check CONTRIBUTING.md.
Happy wasting of your time! :) 💣