Games::Risk::AI::Dumb - dumb ai that does nothing
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, <jquelin at cpan.org>
<jquelin at cpan.org>
Copyright (c) 2008 Jerome Quelin, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU GPLv3+.
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.