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


Games-Risk documentation  | view source Contained in the Games-Risk distribution.

Index


NAME

Top

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

VERSION

Top

version 3.103040

SYNOPSIS

Top

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

DESCRIPTION

Top

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

Top

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

Top

This AI is freely adapted from jRisk.

SEE ALSO

Top

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

AUTHOR

Top

  Jerome Quelin

COPYRIGHT AND LICENSE

Top


Games-Risk documentation  | view source Contained in the Games-Risk distribution.