- HOW TO START AND MANAGE A PW GAME (THE SHORT AND SKINNY)
- BUGS AND LIMITATIONS
- LICENCE AND COPYRIGHT
Games::Perlwar - A Perl variant of the classic Corewar game
For the rules of Perlwar, please refers to the Games::Perlwar::Rules manpage.
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.
pwupload currently only works for local games. It will be soonishly extended to allow submissions to network games.
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.
Yanick Champoux (firstname.lastname@example.org)
Copyright (c) 2005, 2006 Yanick Champoux (email@example.com). All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perldoc perlartistic.
This program is distributed in the hope that it will be useful (or at least entertaining), but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.