The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

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, <jquelin at cpan.org>

COPYRIGHT & LICENSE

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+.