A relatively simple implementation of Minesweeper in "space" or with 3 dimensions.
You will see 3D formation of dull gray orbs on a darker background. These are potential mines. You can move amongst them without risk of setting them off. Much like the 2D version, you can click on locations where you suspect there is NOT a mine. If you click on an orb that does NOT contain a mine, it will either disappear or change color to something more appropriate to its proximity to an actual mine (see below).
If you do accidentally select an orb that contains an active mine, the mine field will be revealed with all active mines appearing a bright red. At this point you can refresh your browser to try another game at the same difficulty or come back to this index page and select a different difficulty level link below.
As mentioned earlier, if you click on an orb that does not contain an active mine it will disappear or change to a color that gives a hint to as many active mines it is adjacent to.
Color | Number of adjacent active mines |
---|---|
Blue | 1 |
Green | 2 |
Yellow | 3 |
Orange | 4 |
Red | 5 or more |
This games uses Three.js FlyControls. Use your arrow keys or mouse drag to look around. W, S, A, D, R and F to move around. Q and E can be used "roll" left and right respectively but these are of limited value for this situation. Here is a more detailed table of controls:
Control | Action |
---|---|
W | Move forward |
S | Move backwards |
A | Move left |
D | Move right |
R | Move up |
F | Move down |
Q | Roll left |
E | Roll right |
Arrow keys | Rotate in that direction |
As you locate orbs that you suspect are active mines, right-click or cntrl-click on them to "mark" them as suspected active mines. They will turn bright white when marked. Once you have "marked" all the active mines successfully, all the orbs that are not mines will disappear and only the correctly marked active mines will remain. If you see the non-active orbs disappear and only your marked mines remain, you have beaten that board.
If you change your mind on a mine that you have "marked", simply right-click or cntrl-click it again to unmark it. You can't "win" if you have any non-active mines marked even if you have all the active ones marked as well.
Difficulty | Dimensions | Number of active mines |
---|---|---|
Easy | 4x4x4 | 2 |
Average | 4x4x4 | 3 |
Hard | 5x5x5 | 4 |
Very Hard | 5x5x5 | 5 |
Extreme | 6x6x6 | 6 |
Insane | 6x6x6 | 7 |
Nuts | 6x6x6 | 8 |
To restart a new game at the same difficulty level, simply click your browser's refresh button. To try a different difficulty level, navigate back to this index page (e.g. "http://twcrone.com/space-mines").
The code for this game is currently stored in Github here.
The game relies on Three.js and sample code from Learning Three.js - The JavaScript 3D Library for WebGL written by Jo Dirksen.
Send me comments via Twitter (@twcrone) or alternatively twcrone@gmail.com. Don't monitor the latter very well so your best bet is send me a tweet that you sent me some email so I'll know to look for it.
Have fun!