pmines - mine finder game.
pmines [--small|--medium|--large] [--width] [--height] [--mines] . . .
Plays a text version the a mine finding game.
Starts with a small, medium or large field. The small field is 8x8 with 10 mines, the medium field is 16x16 with 40 mines, and the large field is 16x30 with 99 mines.
Set the width, height or number of mines used in this game. Not that this can be combined with the --small|--medium|--large to adjust only one component of the field.
Use ANSI color field. Will be quietly ignored on systems that don't have the Term::ANSIColor module.
When you start the game you are presented with a blank square and and a prompt. You play the game by entering a command at he prompt:
Step on the square located at row col.
Place a flag at row col.
Remove a flag at row col.
Save game as game number game
load game numerb game
Quit the game and show the solution.
pmines.sav - file that games are saved into.
Games::Mines and Games::Mines::Play for more details.
Martyn W. Peck <mwp@mwpnet.com>
None known. But if you find any, let me know.
Copyright 2003, Martyn Peck. All Rights Reserves.
This program is free software. You may copy or redistribute it under the same terms as Perl itself.
To install Games::Mines, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::Mines
CPAN shell
perl -MCPAN -e shell install Games::Mines
For more information on module installation, please visit the detailed CPAN module installation guide.