Martyn Peck > Games-Mines-0.02 > pmines

Download:
Games-Mines-0.02.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Source  

NAME ^

pmines - mine finder game.

SYNOPSIS ^

pmines [--small|--medium|--large] [--width] [--height] [--mines] . . .

DESCRIPTION ^

Plays a text version the a mine finding game.

OPTIONS AND ARGUMENTS ^

--small|--medium|--large

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.

--width --height --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.

--color

Use ANSI color field. Will be quietly ignored on systems that don't have the Term::ANSIColor module.

PLAYING ^

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:

row col

Step on the square located at row col.

f row col

Place a flag at row col.

u row col

Remove a flag at row col.

s game

Save game as game number game

l game

load game numerb game

q

Quit the game and show the solution.

FILES ^

pmines.sav - file that games are saved into.

SEE ALSO ^

Games::Mines and Games::Mines::Play for more details.

AUTHOR ^

Martyn W. Peck <mwp@mwpnet.com>

BUGS ^

None known. But if you find any, let me know.

COPYRIGHT ^

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.