Jerome Quelin > Games-Risk-2.1.1 > Games::Risk::AI::Hegemon

Download:
Games-Risk-2.1.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

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):

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