Main > Free Download Search >

Free 1.2.565chh5 software for linux

1.2.565chh5

Sponsored Links
Sponsored Links
Sort by >> Relevance
rss
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1
Games::Cards::Poker 1.2.565CHh5

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.

<<less
Download (0.072MB)
Added: 2006-09-19 License: Perl Artistic License Price:
1138 downloads

1.2.565chh5 related searches

: ,
Secleted [ 0 ] software to compare
  • Page: 1 of 1
  • 1