Hello. There are a few things more to do, but this is already a playable version.
Features:
* Button face is a double icon button and indicates the state of the game/gamer:
- Glad face. Everything is ok.
- Fear face. When you click down on a button it appears: the mines seeker state.
- Dead face. It appears when you click up on a button mine: game is over and you loose.
- Glass face. When you have completed the game: you win.
Every time you click on the button face, the game is reseted. Nothing really happens until
you click up on any button.
* When you click on a blank cell, all of its neighbours blank cells are revealed, and also all the cells with info in the border. It is a recursive algorithm similar to the paint regions one that I discussed some years ago
here.
* There're two accelerator keys:
- F2. Restart the game at any time it would be pressed.
- Esc. Quit the game.
Rules:
You have to find all the mines on a square table of cells. For that, many cells info you on how many cells round it has a mine. Blank cells are irrelevant. Of course, if you click on a cell with a mine inside, you lose.
When you win or lose, you won't be able to keep on playing until you reset the game clicking on the glass face button or pressing the F2 key.
Things to point up in this version:
* I added a banner in the "about" box to give it a bit of colour.
* Now cells are initialized with a dark grey shadow. When a cell is revealed, it became flat and with a clearer colour.
Regards