1.2.565chh5
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1
Games::Cards::Poker 1.2.565CHh5
Games::Cards::Poker is a Perl module for Pure Perl Poker functions. more>>
Games::Cards::Poker is a Perl module for Pure Perl Poker functions.
SYNOPSIS
use Games::Cards::Poker;
# Deal Four (4) players hands and score them...
my $players = 4; # number of players to get hands dealt
my $hand_size = 5; # number of cards to deal to each player
my @hands = ();# player hand data
my @deck = Shuffle(Deck());
while($players--) {
push(@{$hands[$players]}, pop(@deck)) foreach(1..$hand_size);
printf("Player$players score:%4d hand:@{$hands[$players]}n",
ScoreHand(@{$hands[$players]}));
}
Poker provides a few functions for creating decks of cards and manipulating them for simple Poker games or simulations.
<<lessSYNOPSIS
use Games::Cards::Poker;
# Deal Four (4) players hands and score them...
my $players = 4; # number of players to get hands dealt
my $hand_size = 5; # number of cards to deal to each player
my @hands = ();# player hand data
my @deck = Shuffle(Deck());
while($players--) {
push(@{$hands[$players]}, pop(@deck)) foreach(1..$hand_size);
printf("Player$players score:%4d hand:@{$hands[$players]}n",
ScoreHand(@{$hands[$players]}));
}
Poker provides a few functions for creating decks of cards and manipulating them for simple Poker games or simulations.
Download (0.072MB)
Added: 2006-09-19 License: Perl Artistic License Price:
1138 downloads
Secleted [ 0 ] software to compare
- Page: 1 of 1
- 1
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above 1.2.565chh5 search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed