Games::Perlwar - A Perl variant of the classic Corewar game


Games-Perlwar documentation  | view source Contained in the Games-Perlwar distribution.

Index


NAME

Top

Games::Perlwar - A Perl variant of the classic Corewar game

DESCRIPTION

Top

For the rules of Perlwar, please refers to the Games::Perlwar::Rules manpage.

HOW TO START AND MANAGE A PW GAME (THE SHORT AND SKINNY)

Top

Use the script pwcreate to create a new game.

    $ pwcreate [ <game_directory> ]

pwcreate will create game_directory and populate it with the everything the new game will need. If game_directory is not provided, pwcreate will create a sub-directory called 'game'.

Once the game is created, the script pwupload can be used to submit the agents to be introduced into the Array:

    $ pwupload <game_directory> <player> 

pwupload takes two arguments: the game directory and the name of the agent's owner. The script then reads the script from STDIN. E.g.:

    $ pwupload /home/perlwar/myWar yanick < borg.pl

Finally, pwround executes an iteration of the game:

    $ pwround <game_directory>

pwround isn't interactive and can easily be called from a cron job.

BUGS AND LIMITATIONS

Top

pwupload currently only works for local games. It will be soonishly extended to allow submissions to network games.

CONTACTS

Top

For bug reports, please use the CPAN request tracker on http://rt.cpan.org/NoAuth/Bugs.html?Dist=Games-Perlwar.

The Games::Perlwar git repository can be found at http://babyl.dyndns.org/git/perlwar.git.

AUTHOR

Top

Yanick Champoux (yanick@perl.org)

LICENCE AND COPYRIGHT

Top


Games-Perlwar documentation  | view source Contained in the Games-Perlwar distribution.