NAME

Games::Risk::AI::Hegemon - ai that tries to conquer the world

VERSION

version 4.000

SYNOPSIS

my $ai = Games::Risk::AI::Hegemon->new(\%params);

DESCRIPTION

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.

METHODS

This class implements (or inherits) all of those methods (further described in Games::Risk::AI):

  • attack()

  • attack_move()

  • description()

  • difficulty()

  • move_armies()

  • place_armies()

ACKNOWLEDGEMENTS

This AI is freely adapted from jRisk.

SEE ALSO

Games::Risk::AI, Games::Risk.

AUTHOR

Jerome Quelin

COPYRIGHT AND LICENSE

This software is Copyright (c) 2008 by Jerome Quelin.

This is free software, licensed under:

The GNU General Public License, Version 3, June 2007