Flag Day is a RISC OS desktop implementation of the popular game of Minesweeper.
Click SELECT on a tile to uncover it; click ADJUST on a tile to place a flag on it. Flagged tiles may not be uncovered until the flag is removed (by clicking ADJUST on it again).
If you uncover all the safe tiles on the board, you win.
If you uncover a mine, you lose.
Under normal circumstances, the four corners of the game board will not contain mines, thus giving you a few safe starting points for your mine hunt.
In most cases it's possible to work out where the mines are located by logical deduction, but occasionally you may come across a situation where you are forced to guess. For such impossible situations, a hinting system is provided: choose the Hint option from the game menu, and Flag Day will either reveal or flag the next tile you click, depending on whether or not it contains a mine. Use the hints sparingly: you are only allowed one hint for every 50 mines in the board.
When starting a new game, you can use the New game options window to choose your skill level or set up a custom-sized board. You can also alter the amount of the custom board to be covered by mines, as a percentage, but note that you will only be eligible for entry into the best times table if you use the default coverage value of 20%.
As a convenient short-cut, the above two options are duplicated in the New game setup window.
b & i | blank (unturned) tile, and inverted version |
0 | empty tiles (no surrounding mines) |
1 to 8 | numbered tiles for the associated number of surrounding mines |
m & n | mine and exploded mine |
f | flag |
u & w | uncertainty marker, and inverted version |
The graphics can be of any size and colour depth, but note:
The alternative/grey-scale graphics are optional. If present, the alternative sprites should use the same names as the main sprites, but with gs prefixing the single-character name: gsb, gsi, gs0 and so on.
The alternative graphics must be the same size as the main graphics, but may use a different colour-depth (if fewer colours are needed, for example). However, the alternative tiles must all be the same colour depth as each other, and should all have the same palette (if a palette is present).
Note that Flag Day treats its alternative graphics slightly differently than the main ones:
It is possible to provide interactive help text for your new graphics, for when the pointer is held over their entry in the Graphics menu with interactive help enabled. To add such information, it is necessary to edit Flag Day's Messages file. Load it into a suitable text editor (such as Edit) and move the caret to the end of the file. You will see that the last few entries take the form:
Help_Menu_Graphics_<filename>:<help-text>
Simply add a new line to the Messages file in the above format, replacing the <filename> section with the actual name of the sprites file you have added.
Note that the help text itself can only be a maximum of 235 characters long. If you exceed this length, Flag Day will inform you of the fact when you attempt to view your help text.
When saving the updated Messages file, please ensure that it ends with a carriage return (i.e. the caret can appear on a blank line at the end of the file).