projects
shell & jar
minesweeper
jpg Optimizer
get Java |
About the simple excitement of MineSweeperAgainst gambling
Once, after some quick games i found, that one
fulfills tasks by hand, which should better be handled by the computer.
But probably the simplicity is the attraction of the game.
And the reason for thousands of lost working time every year...
The implementations i know (Windows-standard and KDE2-kmines)
automatically open all neighbours of those fields showing a '0',
these are the ones where it is secure at first sight - and afterwards
this is done recursively for all opened fields.
Furthermore they have a feature (Win: click both mouse buttons simultaneously )
to open all neighbours if it is secure, just by counting.
At the end, the goal is only the fast recognition of primitive patterns, and a fast click of two mouse buttons. I wanted to automate this simple case, to let the computer open the secure fields and mark the mined ones. Fields where the shown number equals the sum of the 'not opened' + 'marked' neighbours, as explained above. But only this case, what is reachable by pure counting of marked and opened fields, without the combination of information from more than one open field, every 9x9 square examined individually. This is what a human being - that can count - can do without further thinking. ResultThe result is a rather boring game, even more from 16x16 and bigger, named intermediate and expert. Either all fields are opened after some clicks by the simple counting job, or one hits a mine by accident. In the smallest game (9x9) the change isn't such big, but sometimes it is solved in 3 seconds.
In the case some field stay closed, you: ConclusionThe game has lost most (all?) of it's attraction to me. In the original it's all about pattern recognition. In my version it's gone really fast. I prefer playing freecell.
Probably this is the attraction of the original: DownloadFor all systems with at least Java 1.3, Windows, Mac, *nix, .... Try it now.
New version 1.1 from 18.8.2003: Fixed windowmanagerproblems under Linux.
No mine on first click. Better makeup.
56KB.
Or you may start it direkt with Java Webstart in the secure sandbox.
|
© July 2003 Peter Büttner