Games::Risk::AI::Dumb - dumb ai that does nothing
version 3.112590
my $ai = Games::Risk::AI::Dumb->new(\%params);
This module implements a dumb ai for risk, that does nothing. It just piles up new armies randomly, and never ever attacks nor move armies.
This class implements (or inherits) all of those methods (further described in Games::Risk::AI):
Games::Risk::AI
attack()
description()
difficulty()
move_armies()
place_armies()
Games::Risk::AI, Games::Risk.
Jerome Quelin
This software is Copyright (c) 2008 by Jerome Quelin.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007
To install Games::Risk, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::Risk
CPAN shell
perl -MCPAN -e shell install Games::Risk
For more information on module installation, please visit the detailed CPAN module installation guide.