- COPYRIGHT AND LICENSE
Games::Risk::Player - risk player
This module implements a risk player, with all its characteristics.
Player type (human, ai, etc.)
Player color to be used in the gui.
The class of the artificial intelligence, if player is an AI.
The reference to the actual AI object, if player is an AI.
The cards (a
Games::Risk::Deck object) currently owned by
my @countries = $player->countries;
Return the list of countries (
Games::Risk::Country objects) currently owned by
my $greatness = $player->greatness;
Return an integer reflecting the greatness of
$player. It will raise with the number of owned territories, as well as the number of armies.
This software is Copyright (c) 2008 by Jerome Quelin.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007