Games::Risk::Deck - pandemic card deck
version 4.000
A Games::Risk::Deck contains a set of Games::Risk::Card, with methods to handle this set.
The set of Games::Risk::Cards hold in the deck.
my @cards = $deck->cards; my @cards = $deck->all;
Return all the cards in the $deck.
$deck
my $card = $deck->get;
Get the next $card in the deck.
$card
$deck->add( $card ); $deck->return( $card );
Return $card to the deck of cards.
$deck->del( $card );
Remove a $card from the deck.
Jerome Quelin
This software is Copyright (c) 2008 by Jerome Quelin.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007
To install Games::Risk, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::Risk
CPAN shell
perl -MCPAN -e shell install Games::Risk
For more information on module installation, please visit the detailed CPAN module installation guide.