MicroSweeper Minesweeper-like game implemented in Java and intended for J2ME-capable (MIDP 2.0, CLDC 1.1) hand-held devices, like mobile phones. The game allows optional determinism, which when turned on, ensures that each mine can be discovered without guessing.
Besides traditional game, it allows for game on pseudo-hexagonal grid, or game with various "neighborhood" patterns, where the number on the field is computed from mines located further from the field itself.
The game is covered by GNU General Public License version 3, or (at your option) any later version.
The game was written by Petr Machata. Should you need anything, you can contact him at pmachata at gmail com.
The first shot shows initial game screen. Number "35" is how
many mines are hidden in the field. The big white square is
your cursor, smaller squares around that are neighborhood
hints: they show you how (from which fields) is the number of
neighboring mines computed. These hints will go away as soon
as you start the game itself, i.e. as soon as you "open" the
first field, which is shown on the second shot.
A couple finished games.
These two show the game with 12 neighboring tiles. The right
hand side shot also shows failed game. The red cross is a
misplaced flag, black dots are undiscovered (or unmarked by
flags) mines. If you don't immediately know how to start with
the game on the right hand side shot, that's normal.
If, on the other hand, you immediately know how to
start with the above board, you can have microsweeper build
you a 16-neighbor board. The first screenshot also shows that
the game is nice to you and will let you know if you lay out
On the right is quasi-hexagonal game, which is mildly interesting, but probably not really worth all the code that had to be added to support various boards.
In following, JAR is the package file with the game itself. JAD is a descriptor for that file that some mobile phones apparently require. I haven't had a luck to meet such phone, therefore this file might actually be buggy. If you can figure out what's wrong or confirm that it actually works, please contact the author. The hexadecimal strings before each file are SHA1 sums. Those can be used to verify that the file was transferred without errors.
The source is kept in GIT repository. You can access it anonymously:
git clone git://git.tuxfamily.org/gitroot/microsweeper/microsweeper.git
If you want to build Microsweeper yourself, you will need to following software installed on your machine. (The game was developed on a Linux machine, and I suspect the bias shows.)