Microsweeper

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.

Contact

The game was written by Petr Machata. Should you need anything, you can contact him at pmachata at gmail com.

Contents

Screenshots

screenshot screenshot 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.

screenshot screenshot A couple finished games.

screenshot screenshot 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.

screenshot screenshot 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 flags inconsistently.
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.

Download

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.

Version 1.0.16
5dc1184ffff43698be1f337a05f327711f47555a MicroSweeper.jar
79ee0a192333c3ba6866b6d1cb2ecb7c9a733bfe MicroSweeper.jad
4a84f41580285df0525c97f2d4af050fd21ab92f MicroSweeper-1.0.16.tar.bz2
0d5034503aba631c7697f14fc1782417a73c7c44 MicroSweeper-1.0.16.zip
Version 1.0.15
Builds: jar jad
Sources: tar+bz2 zip
Version 1.0.14
Builds: jar jad
Sources: tar+bz2 zip
Version 1.0.13
Builds: jar jad
Sources: tar+bz2 zip

Source Code

The source is kept in GIT repository. You can access it anonymously:

git clone git://git.tuxfamily.org/gitroot/microsweeper/microsweeper.git

Build

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.)