games cards poker 1.2.565chh5
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2644
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
Games::Cards 1.45
Games::Cards is a Perl module for writing and playing card games. more>>
Games::Cards is a Perl module for writing and playing card games.
SYNOPSIS
use Games::Cards;
my $Rummy = new Games::Cards::Game;
# Create the correct deck for a game of Rummy.
my $Deck = new Games::Cards::Deck ($Rummy, "Deck");
# shuffle the deck and create the discard pile
$Deck->shuffle;
my $Discard = new Games::Cards::Queue "Discard Pile";
# Deal out the hands
foreach my $i (1 .. 3) {
my $hand = new Games::Cards::Hand "Player $i" ;
$Deck->give_cards($hand, 7);
$hand->sort_by_value;
push @Hands, $hand;
}
# print hands (e.g. "Player 1: AS 2C 3C 3H 10D QS KH")
foreach (@Hands) { print ($_->print("short"), "n") }
$Hands[1]->give_a_card ($Discard, "8D"); # discard 8 of diamonds
This module creates objects and methods to allow easier programming of card games in Perl. It allows you to do things like create decks of cards, have piles of cards, hands, and other sets of cards, turn cards face-up or face-down, and move cards from one set to another. Which is pretty much all you need for most card games.
<<lessSYNOPSIS
use Games::Cards;
my $Rummy = new Games::Cards::Game;
# Create the correct deck for a game of Rummy.
my $Deck = new Games::Cards::Deck ($Rummy, "Deck");
# shuffle the deck and create the discard pile
$Deck->shuffle;
my $Discard = new Games::Cards::Queue "Discard Pile";
# Deal out the hands
foreach my $i (1 .. 3) {
my $hand = new Games::Cards::Hand "Player $i" ;
$Deck->give_cards($hand, 7);
$hand->sort_by_value;
push @Hands, $hand;
}
# print hands (e.g. "Player 1: AS 2C 3C 3H 10D QS KH")
foreach (@Hands) { print ($_->print("short"), "n") }
$Hands[1]->give_a_card ($Discard, "8D"); # discard 8 of diamonds
This module creates objects and methods to allow easier programming of card games in Perl. It allows you to do things like create decks of cards, have piles of cards, hands, and other sets of cards, turn cards face-up or face-down, and move cards from one set to another. Which is pretty much all you need for most card games.
Download (0.089MB)
Added: 2007-01-03 License: Perl Artistic License Price:
1034 downloads
Games::Euchre::Player 1.02
Games::Euchre::Player is a player class for Euchre card game. more>>
Games::Euchre::Player is a player class for Euchre card game.
The four Player objects are used to interact with the humand and computer players, as well as to keep the state of the players hand, whether he bid and whether he went alone.
CLASS METHODS
new GAME NUMBER NAME
Create and initialize a new Euchre player. The number is 1-4.
INSTANCE METHODS
getGame
Return the Euchre game instance to which this player belongs.
setTeam TEAM
Record the Team instance that this player belongs to.
getTeam
Return the Team instance to which this player belongs.
setAI AI
Record the AI instance for this player.
getAI
Return the AI instance for this player.
setAlone
Indicate that this player has chosen to go alone in the current hand.
setBid
Indicate that this player has chosen to choose trump in the current hand.
wentAlone
Returns a boolean indicating whether this player chose to go alone on a bid.
isBidder
Returns a boolean indicating whether this player called the trump suit during bidding.
getName
Return this players name
getNumber
Return this players number, between 1 and 4
getHand
Return the Games::Cards::Hand object representing this players current hand.
getCards
Return an array of the Games::Cards::Card objects held in the players hand.
resetGame
Clear all of the state for the current game and get ready for the next one.
resetHand
Clear all of the state for the current hand and get ready for the next one.
bid TURN
Allow the player to choose trump or pass. Returns one of: H, C, D, S, N, HA, CA, DA, SA, NA, or undef. If the player has an AI instance set, that is invoked. Otherwise a pathetically simple AI decides the bid.
pickItUp
Allow the player, as dealer, to select which card to trade for the turned up card. This method performs the actual trade. If the player has an AI instance set, that is invoked. Otherwise a pathetically simple AI chooses the card.
playCard TRICK
Allow the player to select which card to play on the current trick. This method performs the actual play. If the player has an AI instance set, that is invoked. Otherwise a pathetically simple AI chooses the card.
isLegalBid TURNNUMBER BID
Given a bid, return a boolean indicating the validity of that bid. The bid is tested for structure (one of H, C, D, S, N, HA, CA, DA, SA, NA, or undef), tested against the bidding round (only the turned-up card suit can be called in round 1 , and may not be called in round 2), against the game options (hang-the-dealer, no-trump).
This is called from the bid() method.
<<lessThe four Player objects are used to interact with the humand and computer players, as well as to keep the state of the players hand, whether he bid and whether he went alone.
CLASS METHODS
new GAME NUMBER NAME
Create and initialize a new Euchre player. The number is 1-4.
INSTANCE METHODS
getGame
Return the Euchre game instance to which this player belongs.
setTeam TEAM
Record the Team instance that this player belongs to.
getTeam
Return the Team instance to which this player belongs.
setAI AI
Record the AI instance for this player.
getAI
Return the AI instance for this player.
setAlone
Indicate that this player has chosen to go alone in the current hand.
setBid
Indicate that this player has chosen to choose trump in the current hand.
wentAlone
Returns a boolean indicating whether this player chose to go alone on a bid.
isBidder
Returns a boolean indicating whether this player called the trump suit during bidding.
getName
Return this players name
getNumber
Return this players number, between 1 and 4
getHand
Return the Games::Cards::Hand object representing this players current hand.
getCards
Return an array of the Games::Cards::Card objects held in the players hand.
resetGame
Clear all of the state for the current game and get ready for the next one.
resetHand
Clear all of the state for the current hand and get ready for the next one.
bid TURN
Allow the player to choose trump or pass. Returns one of: H, C, D, S, N, HA, CA, DA, SA, NA, or undef. If the player has an AI instance set, that is invoked. Otherwise a pathetically simple AI decides the bid.
pickItUp
Allow the player, as dealer, to select which card to trade for the turned up card. This method performs the actual trade. If the player has an AI instance set, that is invoked. Otherwise a pathetically simple AI chooses the card.
playCard TRICK
Allow the player to select which card to play on the current trick. This method performs the actual play. If the player has an AI instance set, that is invoked. Otherwise a pathetically simple AI chooses the card.
isLegalBid TURNNUMBER BID
Given a bid, return a boolean indicating the validity of that bid. The bid is tested for structure (one of H, C, D, S, N, HA, CA, DA, SA, NA, or undef), tested against the bidding round (only the turned-up card suit can be called in round 1 , and may not be called in round 2), against the game options (hang-the-dealer, no-trump).
This is called from the bid() method.
Download (0.021MB)
Added: 2006-12-21 License: Perl Artistic License Price:
1038 downloads
Real Poker 0.2.8
Real Poker project is a poker simulation. more>>
Real Poker project is a poker simulation.
New poker games may be created by the user. Hand simulations may be run.
Upon execution the first thing that is displayed is the main window for Real Poker.
Poker games may be created, saved, deleted, and edited. Poker games may also be filtered through a learning process, the results of which are used by the robot players.
There is a game library provided with Real Poker "out of the box" which includes four poker games: Seven Card Stud, Five Card Stud, Texas Holdem, and Five Card Draw. The game library file is named "games.lib".
A game library may contain a maximum of 50 games. When Real Poker is first loaded, the default game library (games.lib) will automatically be loaded provided it is present in the .RP directory within your HOME directory (see the INSTALL file).
Use your mouse to click on the GAME LIBRARY drop-down item under the MISC menu selection to perform various functions concerning the game library.
<<lessNew poker games may be created by the user. Hand simulations may be run.
Upon execution the first thing that is displayed is the main window for Real Poker.
Poker games may be created, saved, deleted, and edited. Poker games may also be filtered through a learning process, the results of which are used by the robot players.
There is a game library provided with Real Poker "out of the box" which includes four poker games: Seven Card Stud, Five Card Stud, Texas Holdem, and Five Card Draw. The game library file is named "games.lib".
A game library may contain a maximum of 50 games. When Real Poker is first loaded, the default game library (games.lib) will automatically be loaded provided it is present in the .RP directory within your HOME directory (see the INSTALL file).
Use your mouse to click on the GAME LIBRARY drop-down item under the MISC menu selection to perform various functions concerning the game library.
Download (0.25MB)
Added: 2007-01-10 License: GPL (GNU General Public License) Price:
1028 downloads
Games::Euchre 1.02
Games::Euchre is an Euchre card game for humans and computers. more>>
Games::Euchre is an Euchre card game for humans and computers.
SYNOPSIS
Simply run my game wrapper:
% euchre.pl
or write your own:
use Games::Euchre;
use Games::Euchre::AI::Simple;
use Games::Euchre::AI::Human;
my $game = Games::Euchre->new();
foreach my $i (1..3) {
$game->setAI($i, Games::Euchre::AI::Simple->new());
}
$game->setAI(4, Games::Euchre::AI::Human->new());
$game->playGame();
my @scores = sort {$b $a} $game->getScores();
print("The winner is " . $game->getWinner()->getName() . " with a score of " .
"$scores[0] to $scores[1]n");
This software implements the card game of Euchre. The game is played with four players composing two teams. Any of the four players can be human or computer players, but more than one human is not well supported yet.
The Games::Euchre::AI module implements a simple framework for adding new classes of human interfaces or computer opponents. I recomment that AI writers use Games::Euchre::AI::Simple (a REALLY dumb computer opponent) as starting point.
Aside from the ::AI class and its descendents, this package also implements the following classes: Games::Euchre::Team, Games::Euchre::Player and Games::Euchre::Trick.
<<lessSYNOPSIS
Simply run my game wrapper:
% euchre.pl
or write your own:
use Games::Euchre;
use Games::Euchre::AI::Simple;
use Games::Euchre::AI::Human;
my $game = Games::Euchre->new();
foreach my $i (1..3) {
$game->setAI($i, Games::Euchre::AI::Simple->new());
}
$game->setAI(4, Games::Euchre::AI::Human->new());
$game->playGame();
my @scores = sort {$b $a} $game->getScores();
print("The winner is " . $game->getWinner()->getName() . " with a score of " .
"$scores[0] to $scores[1]n");
This software implements the card game of Euchre. The game is played with four players composing two teams. Any of the four players can be human or computer players, but more than one human is not well supported yet.
The Games::Euchre::AI module implements a simple framework for adding new classes of human interfaces or computer opponents. I recomment that AI writers use Games::Euchre::AI::Simple (a REALLY dumb computer opponent) as starting point.
Aside from the ::AI class and its descendents, this package also implements the following classes: Games::Euchre::Team, Games::Euchre::Player and Games::Euchre::Trick.
Download (0.021MB)
Added: 2007-01-03 License: GPL (GNU General Public License) Price:
1034 downloads
Ugly Poker 1.0
Ugly Poker is a free video poker game for linux. more>>
Ugly Poker is a free video poker game for linux.
Ugly Poker is a Free Linux Game of Video Poker that might remind you of your favorite casino video poker machine youve played in Las Vegas or another casino somewhere in the world like gold studded Monaco, on a steamboat near Louisiana, around beautiful Lake Tahoe in Nevada, or Atlantic City on the boardwalk along the Atlantic Ocean.
With Ugly Poker, you can be reminded of those places just mentioned - without leaving your home. Call it ugly and convenient!
<<lessUgly Poker is a Free Linux Game of Video Poker that might remind you of your favorite casino video poker machine youve played in Las Vegas or another casino somewhere in the world like gold studded Monaco, on a steamboat near Louisiana, around beautiful Lake Tahoe in Nevada, or Atlantic City on the boardwalk along the Atlantic Ocean.
With Ugly Poker, you can be reminded of those places just mentioned - without leaving your home. Call it ugly and convenient!
Download (1.8MB)
Added: 2005-12-09 License: Freeware Price:
1418 downloads
Stamits Online Poker 0.1
Stamits Online Poker project is a simple OpenGL poker game that can be played online with another person. more>>
Stamits Online Poker project is a simple OpenGL poker game that can be played online with another person.
Compilation:
Make sure you have the GNU C and C++ compilers.
Get MOGUL, the Minimal OpenGL Utility Library, compile and install it (or use a compiled binary version, if there is one available). Instructions should be included.
Open `Makefile and uncomment the lines below the label `Unix configuration.
Say `make. The result should be an executable named `sopoker in the current working directory.
<<lessCompilation:
Make sure you have the GNU C and C++ compilers.
Get MOGUL, the Minimal OpenGL Utility Library, compile and install it (or use a compiled binary version, if there is one available). Instructions should be included.
Open `Makefile and uncomment the lines below the label `Unix configuration.
Say `make. The result should be an executable named `sopoker in the current working directory.
Download (0.15MB)
Added: 2007-03-21 License: GPL (GNU General Public License) Price:
949 downloads
Pyramid - Poker of ZYH 2.0
Pyramid - Poker of ZYH is a free solitaire card game. As an applet or as an application, this program should work on any platform that supports Java.... more>> <<less
Download (287KB)
Added: 2009-04-21 License: Freeware Price: Free
288 downloads
Other version of Pyramid - Poker of ZYH
License:Freeware
Games::Poker::TexasHoldem 1.4
Games::Poker::TexasHoldem is an abstract state in a Holdem game. more>>
Games::Poker::TexasHoldem is an abstract state in a Holdem game.
SYNOPSIS
use Games::Poker::TexasHoldem;
my $game = Games::Poker::TexasHoldem->new(
players => [
{ name => "lathos", bankroll => 500 },
{ name => "MarcBeth", bankroll => 500 },
{ name => "Hectate", bankroll => 500 },
{ name => "RichardIII", bankroll => 500 },
],
button => "Hectate",
bet => 10,
limit => 50
);
$game->blinds; # Puts in both small and large blinds
print $game->pot; # 15
$game->call; # Hecate puts in 10
$game->bet_raise(15) # RichardIII sees the 10, raises another 5
...
This represents a game of Texas Holdem poker. It maintains the state of the pot, whos in to what amount, whos folded, what the bankrolls look like, and so on. Its meant to be used in conjunction with Games::Poker::OPP, but can be used stand-alone as well for analysis.
<<lessSYNOPSIS
use Games::Poker::TexasHoldem;
my $game = Games::Poker::TexasHoldem->new(
players => [
{ name => "lathos", bankroll => 500 },
{ name => "MarcBeth", bankroll => 500 },
{ name => "Hectate", bankroll => 500 },
{ name => "RichardIII", bankroll => 500 },
],
button => "Hectate",
bet => 10,
limit => 50
);
$game->blinds; # Puts in both small and large blinds
print $game->pot; # 15
$game->call; # Hecate puts in 10
$game->bet_raise(15) # RichardIII sees the 10, raises another 5
...
This represents a game of Texas Holdem poker. It maintains the state of the pot, whos in to what amount, whos folded, what the bankrolls look like, and so on. Its meant to be used in conjunction with Games::Poker::OPP, but can be used stand-alone as well for analysis.
Download (0.006MB)
Added: 2007-01-02 License: Perl Artistic License Price:
1041 downloads
Penguin Cards 1.0
Penguin Cards project is a card game. more>>
Penguin Cards project is a card game.
PenguinCards is a two-player card game. The aim is to find the pairs of cards on the board. The one who finds out more card pairs is the winner.
PenguinCards is a java-based game.
If you are unhappy with images on the cards, then simply copy your cards into images/pictures/penguins directory. That is it!
Enhancements:
- Initial release
<<lessPenguinCards is a two-player card game. The aim is to find the pairs of cards on the board. The one who finds out more card pairs is the winner.
PenguinCards is a java-based game.
If you are unhappy with images on the cards, then simply copy your cards into images/pictures/penguins directory. That is it!
Enhancements:
- Initial release
Download (0.12MB)
Added: 2006-11-30 License: GPL (GNU General Public License) Price:
1062 downloads
Games::Bingo::Card 0.13
Games::Bingo::Card is a helper class for Games::Bingo. more>>
Games::Bingo::Card is a helper class for Games::Bingo.
SYNOPSIS
use Games::Bingo::Card;
my $b = Games::Bingo-E new(90);
my $card = Games::Bingo::Card-E new($b);
my $bingo = Games::Bingo-E new(90);
$card-E validate($bingo);
use Games::Bingo::Print::Card;
my $p = Games::Bingo::Print::Card-E new();
$p-E populate();
The Games::Bingo::Card class suits the simple purpose of being able to generate bingo cards and validating whether they are valid in during a game where a player indicate victory.
It is also used by Games::Bingo::Print to hold the generated bingo cards before they are printed.
<<lessSYNOPSIS
use Games::Bingo::Card;
my $b = Games::Bingo-E new(90);
my $card = Games::Bingo::Card-E new($b);
my $bingo = Games::Bingo-E new(90);
$card-E validate($bingo);
use Games::Bingo::Print::Card;
my $p = Games::Bingo::Print::Card-E new();
$p-E populate();
The Games::Bingo::Card class suits the simple purpose of being able to generate bingo cards and validating whether they are valid in during a game where a player indicate victory.
It is also used by Games::Bingo::Print to hold the generated bingo cards before they are printed.
Download (0.020MB)
Added: 2007-01-04 License: Perl Artistic License Price:
1024 downloads
Games::Euchre::AI 1.02
Games::Euchre::AI is a Player API for Euchre card game. more>>
Games::Euchre::AI is a Player API for Euchre card game.
This class implements a skeletal Euchre player programming interface. Subclasses can be created quite easily as interactive interfaces or AI computer players.
If you wish to write your own computer player, I recommend you start with Games::Euchre::AI::Simple. If you wish to write your own human interface, I recommend you start with Games::Euchre::AI::Human.
CLASS METHODS
new
Create and initialize a new Euchre AI. This object is implemented as an empty hash. Subclasses may wish to use this hash for state storage.
INSTANCE METHODS
Actions
The following methods are called in the course of the game where the AI (or human) has to make a decision. The state of the game is always passed in a hashreference. The following fields are always available:
name is the name of the current player. This is useful for output messages.
names is a hash relating player number to player name for all four players.
debug is a boolean indicating if we are debugging game or the AIs. Your AI may wish to provide verbose output if debugging is going on.
bid STATEHASH
Choose trump or pass. The relevent details of the current state of the game are provided in a hash reference. Here is an example of that data structure:
{
name => Player 1,
names => {1 => Player 1, 2 => P2, 3 => P3, 4 => Fred},
number => 1,
turnedUp => KH,
passes => 1,
ourScore => 2,
theirScore => 4,
winScore => 10,
hangdealer => false,
notrump => false,
hand => [JS, QH, 9S, KC, AD],
debug => false,
}
turnedUp is the suit and value of the card on the top of the blind. This will be undef on the second round of bidding.
passes says how many people have passed so far
hangdealer is a boolean saying whether the hang-the-dealer optional rule is in effect
notrump is a boolean saying whether the no trump optional rule is in effect
This function must return one of: H, D, C, S, N, HA, DA, CA, SA, NA, or undef
N means no trump, A means alone, undef means pass. Not all of these are legal at any given round! Use the isLegalBid() method below if you are unsure.
pickItUp STATEHASH
If this is called, you are the dealer and someone called trump. Choose which card from your hand to discard in exchange for the top card of the blind. The relevent details of the current state of the game are provided in a hash reference. Here is an example of that data structure:
{
name => Player 1,
names => {1 => Player 1, 2 => P2, 3 => P3, 4 => Fred},
number => 1,
turnedUp => KH,
trump => H,
bidder => 2,
weBid => false,
usAlone => false,
themAlone => false,
hand => [JS, QH, 9S, KC, AD],
debug => false,
}
This method should return the 0-based index of the card to trade for the turnedUp card. Namely, this in the index of the hand array for the card that you choose.
playCard STATEHASH
Choose which card from your hand to play on this trick. The relevent details of the current state of the game are provided in a hash reference. Here is an example of that data structure:
{
name => Player 1,
names => {1 => Player 1, 2 => P2, 3 => P3, 4 => Fred},
number => 1,
trump => H,
bidder => 2,
weBid => true,
usAlone => false,
themAlone => false,
trick => 2,
ourTricks => 0,
theirTricks => 1,
ourScore => 2,
theirScore => 4,
winScore => 10,
played => [10H, 9H, QC],
playedBy => [2, 3, 4, 1],
hand => [JH, AH, AS, KS],
debug => false,
}
playedBy is an arrayref of numbers of the players in the order they will play. Without this, the alone possibility makes it hard to tell who played what.
Any needed information not stored here (like who was the dealer, what was the turn-up card, what happened in the first trick) is YOUR responsibility to collect and store in your instance.
This method should return the 0-based index of the card to play. Namely, this in the index of the hand array for the card that you choose.
<<lessThis class implements a skeletal Euchre player programming interface. Subclasses can be created quite easily as interactive interfaces or AI computer players.
If you wish to write your own computer player, I recommend you start with Games::Euchre::AI::Simple. If you wish to write your own human interface, I recommend you start with Games::Euchre::AI::Human.
CLASS METHODS
new
Create and initialize a new Euchre AI. This object is implemented as an empty hash. Subclasses may wish to use this hash for state storage.
INSTANCE METHODS
Actions
The following methods are called in the course of the game where the AI (or human) has to make a decision. The state of the game is always passed in a hashreference. The following fields are always available:
name is the name of the current player. This is useful for output messages.
names is a hash relating player number to player name for all four players.
debug is a boolean indicating if we are debugging game or the AIs. Your AI may wish to provide verbose output if debugging is going on.
bid STATEHASH
Choose trump or pass. The relevent details of the current state of the game are provided in a hash reference. Here is an example of that data structure:
{
name => Player 1,
names => {1 => Player 1, 2 => P2, 3 => P3, 4 => Fred},
number => 1,
turnedUp => KH,
passes => 1,
ourScore => 2,
theirScore => 4,
winScore => 10,
hangdealer => false,
notrump => false,
hand => [JS, QH, 9S, KC, AD],
debug => false,
}
turnedUp is the suit and value of the card on the top of the blind. This will be undef on the second round of bidding.
passes says how many people have passed so far
hangdealer is a boolean saying whether the hang-the-dealer optional rule is in effect
notrump is a boolean saying whether the no trump optional rule is in effect
This function must return one of: H, D, C, S, N, HA, DA, CA, SA, NA, or undef
N means no trump, A means alone, undef means pass. Not all of these are legal at any given round! Use the isLegalBid() method below if you are unsure.
pickItUp STATEHASH
If this is called, you are the dealer and someone called trump. Choose which card from your hand to discard in exchange for the top card of the blind. The relevent details of the current state of the game are provided in a hash reference. Here is an example of that data structure:
{
name => Player 1,
names => {1 => Player 1, 2 => P2, 3 => P3, 4 => Fred},
number => 1,
turnedUp => KH,
trump => H,
bidder => 2,
weBid => false,
usAlone => false,
themAlone => false,
hand => [JS, QH, 9S, KC, AD],
debug => false,
}
This method should return the 0-based index of the card to trade for the turnedUp card. Namely, this in the index of the hand array for the card that you choose.
playCard STATEHASH
Choose which card from your hand to play on this trick. The relevent details of the current state of the game are provided in a hash reference. Here is an example of that data structure:
{
name => Player 1,
names => {1 => Player 1, 2 => P2, 3 => P3, 4 => Fred},
number => 1,
trump => H,
bidder => 2,
weBid => true,
usAlone => false,
themAlone => false,
trick => 2,
ourTricks => 0,
theirTricks => 1,
ourScore => 2,
theirScore => 4,
winScore => 10,
played => [10H, 9H, QC],
playedBy => [2, 3, 4, 1],
hand => [JH, AH, AS, KS],
debug => false,
}
playedBy is an arrayref of numbers of the players in the order they will play. Without this, the alone possibility makes it hard to tell who played what.
Any needed information not stored here (like who was the dealer, what was the turn-up card, what happened in the first trick) is YOUR responsibility to collect and store in your instance.
This method should return the 0-based index of the card to play. Namely, this in the index of the hand array for the card that you choose.
Download (0.021MB)
Added: 2006-12-26 License: Perl Artistic License Price:
1034 downloads
Games::Go::Dg2Ps 4.026
Games::Go::Dg2Ps is a Perl extension to convert Games::Go::Diagrams to PostScript. more>>
Games::Go::Dg2Ps is a Perl extension to convert Games::Go::Diagrams to PostScript.
SYNOPSIS
use Games::Go::Dg2Ps
my $dg2ps = B convertDiagram($diagram);
Games::Go::Dg2Ps converts a Games::Go::Diagram into PostScript.
<<lessSYNOPSIS
use Games::Go::Dg2Ps
my $dg2ps = B convertDiagram($diagram);
Games::Go::Dg2Ps converts a Games::Go::Diagram into PostScript.
Download (0.43MB)
Added: 2006-08-07 License: Perl Artistic License Price:
1173 downloads
PySol-Cardsets 4.82
PySol-Cardsets project is a collection of free cardsets for use with PySol. more>>
PySol-Cardsets project is a collection of free cardsets for use with PySol.
PySol is an exciting collection of more than 200 solitaire card games. Its features include support for lots of distinct games, very nice look and feel, multiple cardsets and table tiles, sound and background music, unlimited undo & redo, load & save games, player statistics and log files, hint system, demo games, support for user written plug-ins, integrated HTML help browser and lots of documentation.
Among the supported games are classics like Aces Up, Bakers Game, Canfield, FreeCell, Forty Thieves, Golf, Klondike, Pyramid, Scorpion, Spider, Yukon, and many more...
PySol is copyrighted OpenSource software distributed under the terms of the GNU General Public License.
PySol is written in 100% pure Python.
<<lessPySol is an exciting collection of more than 200 solitaire card games. Its features include support for lots of distinct games, very nice look and feel, multiple cardsets and table tiles, sound and background music, unlimited undo & redo, load & save games, player statistics and log files, hint system, demo games, support for user written plug-ins, integrated HTML help browser and lots of documentation.
Among the supported games are classics like Aces Up, Bakers Game, Canfield, FreeCell, Forty Thieves, Golf, Klondike, Pyramid, Scorpion, Spider, Yukon, and many more...
PySol is copyrighted OpenSource software distributed under the terms of the GNU General Public License.
PySol is written in 100% pure Python.
Download (0.15MB)
Added: 2006-11-07 License: GPL (GNU General Public License) Price:
630 downloads
Games::Sudoku::General 0.007
Games::Sudoku::General is a Perl module that can solve sudoku-like puzzles. more>>
Games::Sudoku::General is a Perl module that can solve sudoku-like puzzles.
SYNOPSIS
$su = Games::Sudoku::General->new ();
print $su->problem(<<less
SYNOPSIS
$su = Games::Sudoku::General->new ();
print $su->problem(<<less
Download (0.040MB)
Added: 2007-08-13 License: Perl Artistic License Price:
803 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above games cards poker 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