The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Games::Risk::AI::Dumb - dumb ai that does nothing

SYNOPSIS

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

DESCRIPTION

This module implements a dumb ai for risk, that does nothing. It just piles up new armies randomly, and never ever attacks nor move armies.

METHODS

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

  • attack()

  • description()

  • difficulty()

  • move_armies()

  • place_armies()

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