Games::Risk::AI::Hegemon - ai that tries to conquer the world
version 3.112820
my $ai = Games::Risk::AI::Hegemon->new(\%params);
This artificial intelligence is optimized to conquer the world. It checks what countries are most valuable for it, optimizes attacks and moves for continent bonus and blocking other players.
This class implements (or inherits) all of those methods (further described in Games::Risk::AI):
Games::Risk::AI
attack()
attack_move()
description()
difficulty()
move_armies()
place_armies()
This AI is freely adapted from jRisk.
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.