id card
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1462
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
Khalkhi cards 0.2.2
Khalkhi cards allows you to have cards of the entries in your addressbook floating on the desktop. more>>
Khalkhi cards allows you to have cards of the entries in your addressbook floating on the desktop, see the status in the several systems a person has an account in, and do a lot of things, like surfing to her homepage, starting an email or a chat, or dropping her a file/url.
A card lists all properties of an addressbook entry. Are status services installed for a property, the status is displayed below the property item. Actions services are available by the context menu (right click on a property item), and so called data action services by the drop menu (drag a file/url onto the card or an item).
The program is based upon the Khalkhi framework, thus endlessly extendable by plugins. It cannot be used directly, is only available by a service within the framework. So install also the framework and the Khalkhi applet for Kicker:
http://www.kde-apps.org/content/show.php?content=54450
http://www.kde-apps.org/content/show.php?content=54451
Needs 0.2.2 of the Khalkhi framework (see link above).
Enhancements:
- adaption to rename of Contacts framework to Khalkhi framework
<<lessA card lists all properties of an addressbook entry. Are status services installed for a property, the status is displayed below the property item. Actions services are available by the context menu (right click on a property item), and so called data action services by the drop menu (drag a file/url onto the card or an item).
The program is based upon the Khalkhi framework, thus endlessly extendable by plugins. It cannot be used directly, is only available by a service within the framework. So install also the framework and the Khalkhi applet for Kicker:
http://www.kde-apps.org/content/show.php?content=54450
http://www.kde-apps.org/content/show.php?content=54451
Needs 0.2.2 of the Khalkhi framework (see link above).
Enhancements:
- adaption to rename of Contacts framework to Khalkhi framework
Download (0.41MB)
Added: 2007-05-28 License: GPL (GNU General Public License) Price:
880 downloads
Nebula Cards 0.7
Nebula Cards project is a card game engine. more>>
Nebula Cards project is a card game engine.
Nebula Cards is a networked, modular card game engine written in pure Java.
The game rules, user interfaces, and computer players all take the form of pluggable Java classes, and most four-player, trick-taking games can be implemented.
It currently includes Spades and Hearts, with a computer player for Spades.
Enhancements:
- last release before a major restructuring.
- added Game class in a backward-compatible way.
- added util.proc to house the new GameProcedure library.
- added util.ui.GraphicalCardSelector (untested).
<<lessNebula Cards is a networked, modular card game engine written in pure Java.
The game rules, user interfaces, and computer players all take the form of pluggable Java classes, and most four-player, trick-taking games can be implemented.
It currently includes Spades and Hearts, with a computer player for Spades.
Enhancements:
- last release before a major restructuring.
- added Game class in a backward-compatible way.
- added util.proc to house the new GameProcedure library.
- added util.ui.GraphicalCardSelector (untested).
Download (MB)
Added: 2006-11-15 License: GPL (GNU General Public License) Price:
1075 downloads
Card 304 0.6
Card 304 project is a software version of the 304 card game. more>>
Card 304 project is a software version of the 304 card game.
304 is a very popular card game in Northern parts of Sri Lanka. I am building a software version of it, so people can play it online!
<<less304 is a very popular card game in Northern parts of Sri Lanka. I am building a software version of it, so people can play it online!
Download (MB)
Added: 2006-11-22 License: GPL (GNU General Public License) Price:
1077 downloads
ipidscan 0.2
ipidscan project consists in a portscanner using the ip.id method. more>>
ipidscan project consists in a portscanner using the ip.id method.
A portscanner using the ip.id method described by antirez on bugtraq on dec 15 1998. First public port scanner (that Im aware of) was published on bugtraq on dec 3 1999. This program was made public as a response to that on dec 4 1999.
The scanner does not directly contact the target host and is therefore practically untracable.
Main features:
- Default is to send null packets for echo:ing, some firewalls block them. Override with -F
- Lots of options. All nice.
- Use -e instead of -o 256 if silent host is a windows box
- Works on big and little endian boxen
<<lessA portscanner using the ip.id method described by antirez on bugtraq on dec 15 1998. First public port scanner (that Im aware of) was published on bugtraq on dec 3 1999. This program was made public as a response to that on dec 4 1999.
The scanner does not directly contact the target host and is therefore practically untracable.
Main features:
- Default is to send null packets for echo:ing, some firewalls block them. Override with -F
- Lots of options. All nice.
- Use -e instead of -o 256 if silent host is a windows box
- Works on big and little endian boxen
Download (0.005MB)
Added: 2007-04-20 License: GPL (GNU General Public License) Price:
921 downloads
WML::Card 0.02
WML::Card is a Perl extension for builiding WML Cards according to the browser being used. more>>
WML::Card is a Perl extension for builiding WML Cards according to the browser being used.
SYNOPSIS
use WML::Card;
my $options= [ [Option 1, http://...], [Option 2, http://...], ];
my $c = WML::Card->guess(index,Wap Site); $c->link_list(indice, undef, 0, $options, $options); $c->print;
This perl library simplifies the creation of WML cards on the fly. It produces the most suitable wml code for the browser requesting the card. In this way the one building the cards does not have to worry about the differences in how each wap browser displays the wml code. In combination wht WML::Deck it provides functionality to build WAP applications.
Methods
$card = WML::Card->guess( $id, $title, [$user_agent] );
This class method constructs a new WML::Card object. The first argument defines the WML cards id and the second argument its title. The if the third argument is not defined, the value is obtained from $ENV{HTTP_USER_AGENT}.
$c->buttons($label, $type, $task, $href)
$c->table ($data, $title, $offset, $pager, @headers)
$c->link_list($name, $listtitle, $offset, $pager, $data, $align)
$c->value_list($name, $listtitle, $offset,$pager,$data)
The variable $data is an array reference like: my $menu_items= [ [Option 1, http://...], [Option 2, http://...], ];
The variable $pager is the number of items wanted to be displayed in each card.
$c->print
$c->info($content)
$c->img($file, $alt)
$c->input($label, $text, $name, $format, $type, $size, $target, $arg);
$c->link($target, $text);
$c->br
<<lessSYNOPSIS
use WML::Card;
my $options= [ [Option 1, http://...], [Option 2, http://...], ];
my $c = WML::Card->guess(index,Wap Site); $c->link_list(indice, undef, 0, $options, $options); $c->print;
This perl library simplifies the creation of WML cards on the fly. It produces the most suitable wml code for the browser requesting the card. In this way the one building the cards does not have to worry about the differences in how each wap browser displays the wml code. In combination wht WML::Deck it provides functionality to build WAP applications.
Methods
$card = WML::Card->guess( $id, $title, [$user_agent] );
This class method constructs a new WML::Card object. The first argument defines the WML cards id and the second argument its title. The if the third argument is not defined, the value is obtained from $ENV{HTTP_USER_AGENT}.
$c->buttons($label, $type, $task, $href)
$c->table ($data, $title, $offset, $pager, @headers)
$c->link_list($name, $listtitle, $offset, $pager, $data, $align)
$c->value_list($name, $listtitle, $offset,$pager,$data)
The variable $data is an array reference like: my $menu_items= [ [Option 1, http://...], [Option 2, http://...], ];
The variable $pager is the number of items wanted to be displayed in each card.
$c->print
$c->info($content)
$c->img($file, $alt)
$c->input($label, $text, $name, $format, $type, $size, $target, $arg);
$c->link($target, $text);
$c->br
Download (0.005MB)
Added: 2007-03-26 License: Perl Artistic License Price:
942 downloads
bibEC Process Card 1.3.12
bibEC Process Card is a multiple gateway credit card payment processor. more>>
bibEC Process Card is a multiple gateway credit card payment processor.
This class is meant to process credit card payments via one of multiple payment gateways that are supported.
Currently the class supports the following payment gateways: Plug and Pay, Authorize.net, ViaKlix, and paynet . Changing between payment gateways is mostly a matter of changing the class constructor parameter.
The class provides a payment gateway independent API with functions for:
- Logging the payment activity
- Set the payment gateway authentication credentials
- Set the paying customer details
- Set the ship to details
- Set the credit card details
- Set the valuta
- Specify the order details
- Submit the payment processing request and retrieving the results
The payment submission is done securely when possible using PHP SSL socket connections or the Curl extension for PHP or the Curl command line.
<<lessThis class is meant to process credit card payments via one of multiple payment gateways that are supported.
Currently the class supports the following payment gateways: Plug and Pay, Authorize.net, ViaKlix, and paynet . Changing between payment gateways is mostly a matter of changing the class constructor parameter.
The class provides a payment gateway independent API with functions for:
- Logging the payment activity
- Set the payment gateway authentication credentials
- Set the paying customer details
- Set the ship to details
- Set the credit card details
- Set the valuta
- Specify the order details
- Submit the payment processing request and retrieving the results
The payment submission is done securely when possible using PHP SSL socket connections or the Curl extension for PHP or the Curl command line.
Download (MB)
Added: 2007-06-15 License: Freeware Price:
861 downloads
Asterisk Live CF card b-01
Asterisk Live CF card is, clearly, a compact flash install of asterisk. more>>
Asterisk Live CF card is, clearly, a compact flash install of asterisk that will give you a complete, running system similar to that of the asterisk live CD.
Indeed most things are the same although there have been some additions and changes.
To install the CF you will need some way of getting the image onto the card. Generally this can be done with a USB CF card reader using
dd if=asterisk-cf-b01 of=/dev/sda bs=1k count=64000
Useful things to know
1. The cf install currently assumes its hda (1 2 and 3) so youll need to put it in as your primary master using your CF->IDE adaptor, this will be more automagical in the future
2. example configs are stored on hda3 along with a new feature script called remoteconfig. This will allow you to update the configuration/OS automatically on boot from a remote webserver. More detail on how to use this feature will appear at http://www.automated.it/asterisk be sure to read any notes there first.
3. At the minimum youll need a 64mb CF card but you can use a larger one if you wish and create futher partitions. Currenly when you create the CF from the image the following partitions exist
Disk /dev/hda: 8 heads, 32 sectors, 490 cylinders
Units = cylinders of 256 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 33 4208 83 Linux
/dev/hda2 34 354 41088 83 Linux
/dev/hda3 355 490 17408 83 Linux
4. Once booted you will need to make changes to the files in /dev/hda3/astlive-example, particularly networking and the zapata/zaptel configs. Note, if you rename the astlive-example directory to astlive then on the next boot the files will be copied and activated on the running system automatically. Using the example astlive directory includes a PASSWORD CHANGE for root from EPPING to epping (without quotes) as a demonstration. At the minimum you MUST change the networking to suit your environment, since they will change to what is in this directory too.
5. All partitions on the CF are unmounted after boot so if you need to work on them, you will need to specifically mount them.
6. Ive tested E100P, X100P and TDM40B cards using this install, and would be interested to hear of other cards proven to be working.
<<lessIndeed most things are the same although there have been some additions and changes.
To install the CF you will need some way of getting the image onto the card. Generally this can be done with a USB CF card reader using
dd if=asterisk-cf-b01 of=/dev/sda bs=1k count=64000
Useful things to know
1. The cf install currently assumes its hda (1 2 and 3) so youll need to put it in as your primary master using your CF->IDE adaptor, this will be more automagical in the future
2. example configs are stored on hda3 along with a new feature script called remoteconfig. This will allow you to update the configuration/OS automatically on boot from a remote webserver. More detail on how to use this feature will appear at http://www.automated.it/asterisk be sure to read any notes there first.
3. At the minimum youll need a 64mb CF card but you can use a larger one if you wish and create futher partitions. Currenly when you create the CF from the image the following partitions exist
Disk /dev/hda: 8 heads, 32 sectors, 490 cylinders
Units = cylinders of 256 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 33 4208 83 Linux
/dev/hda2 34 354 41088 83 Linux
/dev/hda3 355 490 17408 83 Linux
4. Once booted you will need to make changes to the files in /dev/hda3/astlive-example, particularly networking and the zapata/zaptel configs. Note, if you rename the astlive-example directory to astlive then on the next boot the files will be copied and activated on the running system automatically. Using the example astlive directory includes a PASSWORD CHANGE for root from EPPING to epping (without quotes) as a demonstration. At the minimum you MUST change the networking to suit your environment, since they will change to what is in this directory too.
5. All partitions on the CF are unmounted after boot so if you need to work on them, you will need to specifically mount them.
6. Ive tested E100P, X100P and TDM40B cards using this install, and would be interested to hear of other cards proven to be working.
Download (45.3MB)
Added: 2006-06-20 License: GPL (GNU General Public License) Price:
1224 downloads
SVG-cards 2.0.1
SVG-cards is a set of playing cards made from pure SVG with all kings, queens, jacks, numbers, jokers, and backs of cards. more>>
SVG-cards is a set of playing cards made from pure SVG with all kings, queens, jacks, numbers, jokers, and backs of cards.
You can use SVG-cards everywhere you like : Web pages, games, the GNOME desktop, the KDE desktop, and so on...
You can print them on your color printer and make real cards or T-shirts.
The kings, queens and jacks are based on the french representation, because I find them beautiful. You can access to each either by rendering the file into a pixmap and clipping each card or by using their name with a DOM interface. All cards are inside a SVG group.
Example :
the king of spade is inside this group :
< g id="king_spade" >
...
< /g >
Names are the following :
black_joker
red_joker
back
{king,queen,jack}_{club,diamond,heart,spade}
{1,2,3,4,5,6,7,8,9,10}_{club,diamond,heart,spade}
Examples :
- the ace of club is 1_club
- the queen of diamond is queen_diamond
Enhancements:
- A bug that prevented SVG cards from being displayed in Firefox and Adobe Illustrator was fixed.
<<lessYou can use SVG-cards everywhere you like : Web pages, games, the GNOME desktop, the KDE desktop, and so on...
You can print them on your color printer and make real cards or T-shirts.
The kings, queens and jacks are based on the french representation, because I find them beautiful. You can access to each either by rendering the file into a pixmap and clipping each card or by using their name with a DOM interface. All cards are inside a SVG group.
Example :
the king of spade is inside this group :
< g id="king_spade" >
...
< /g >
Names are the following :
black_joker
red_joker
back
{king,queen,jack}_{club,diamond,heart,spade}
{1,2,3,4,5,6,7,8,9,10}_{club,diamond,heart,spade}
Examples :
- the ace of club is 1_club
- the queen of diamond is queen_diamond
Enhancements:
- A bug that prevented SVG cards from being displayed in Firefox and Adobe Illustrator was fixed.
Download (0.34MB)
Added: 2006-06-30 License: LGPL (GNU Lesser General Public License) Price:
1219 downloads
PHP Greeting card class 1.1
PHP Greeting card class can be used to compose and send greeting cards by email. more>>
PHP Greeting card class can be used to compose and send greeting cards by email.
PHP Greeting card class can compose and send an email message with a greeting either in text, in HTML with an image, or in HTML with Flash content.
The HTML version of the card may include a greeting picture.
<<lessPHP Greeting card class can compose and send an email message with a greeting either in text, in HTML with an image, or in HTML with Flash content.
The HTML version of the card may include a greeting picture.
Download (0.95MB)
Added: 2006-12-21 License: GPL (GNU General Public License) Price:
1043 downloads
Noid 0.424
Noid is a Perl module that contains routines to mint and manage nice opaque identifiers. more>>
Noid is a Perl module that contains routines to mint and manage nice opaque identifiers.
SYNOPSIS
use Noid; # import routines into a Perl script
$dbreport = Noid::dbcreate( # create minter database & printable
$dbdir, $contact, # report on its properties; $contact
$template, $term, # is string identifying the operator
$naan, $naa, # (authentication information); the
$subnaa ); # report is printable
$noid = Noid::dbopen( $dbname, $flags ); # open a minter, optionally
$flags = 0 | DB_RDONLY; # in read only mode
Noid::mint( $noid, $contact, $pepper ); # generate an identifier
Noid::dbclose( $noid ); # close minter when done
Noid::checkchar( $id ); # if id ends in +, replace with new check
# char and return full id, else return id
# if current check char valid, else return
# undef
Noid::validate( $noid, # check that ids conform to template ("-"
$template, # means use minters template); returns
@ids ); # array of corresponding strings, errors
# beginning with "iderr:"
$n = Noid::bind( $noid, $contact, # bind data to identifier; set
$validate, $how, # $validate to 0 if id. doesnt
$id, $elem, $value ); # need to conform to a template
Noid::note( $noid, $contact, $key, $value ); # add an internal note
Noid::fetch( $noid, $verbose, # fetch bound data; set $verbose
$id, @elems ); # to 1 to return labels
print Noid::dbinfo( $noid, # get minter information; level
$level ); # brief (default), full, or dump
Noid::getnoid( $noid, $varname ); # get arbitrary named internal
# variable
Noid::hold( $noid, $contact, # place or release hold; return
$on_off, @ids ); # 1 on success, 0 on error
Noid::hold_set( $noid, $id );
Noid::hold_release( $noid, $id );
Noid::parse_template( $template, # read template for errors, returning
$prefix, $mask, # namespace size (NOLIMIT=unbounded)
$gen_type, # or 0 on error; $message, $gen_type,
$message ); # $prefix, & $mask are output params
Noid::queue( $noid, $contact, # return strings for queue attempts
$when, @ids ); # (failures start "error:")
Noid::n2xdig( $num, $mask ); # show identifier matching ord. $num
Noid::sample( $noid, $num ); # show random ident. less than $num
Noid::scope( $noid ); # show range of ids inside the minter
print Noid::errmsg( $noid, $reset ); # print message from failed call
$reset = undef | 1; # use 1 to clear error message buffer
Noid::addmsg( $noid, $message ); # add message to error message buffer
Noid::logmsg( $noid, $message ); # write message to minter log
<<lessSYNOPSIS
use Noid; # import routines into a Perl script
$dbreport = Noid::dbcreate( # create minter database & printable
$dbdir, $contact, # report on its properties; $contact
$template, $term, # is string identifying the operator
$naan, $naa, # (authentication information); the
$subnaa ); # report is printable
$noid = Noid::dbopen( $dbname, $flags ); # open a minter, optionally
$flags = 0 | DB_RDONLY; # in read only mode
Noid::mint( $noid, $contact, $pepper ); # generate an identifier
Noid::dbclose( $noid ); # close minter when done
Noid::checkchar( $id ); # if id ends in +, replace with new check
# char and return full id, else return id
# if current check char valid, else return
# undef
Noid::validate( $noid, # check that ids conform to template ("-"
$template, # means use minters template); returns
@ids ); # array of corresponding strings, errors
# beginning with "iderr:"
$n = Noid::bind( $noid, $contact, # bind data to identifier; set
$validate, $how, # $validate to 0 if id. doesnt
$id, $elem, $value ); # need to conform to a template
Noid::note( $noid, $contact, $key, $value ); # add an internal note
Noid::fetch( $noid, $verbose, # fetch bound data; set $verbose
$id, @elems ); # to 1 to return labels
print Noid::dbinfo( $noid, # get minter information; level
$level ); # brief (default), full, or dump
Noid::getnoid( $noid, $varname ); # get arbitrary named internal
# variable
Noid::hold( $noid, $contact, # place or release hold; return
$on_off, @ids ); # 1 on success, 0 on error
Noid::hold_set( $noid, $id );
Noid::hold_release( $noid, $id );
Noid::parse_template( $template, # read template for errors, returning
$prefix, $mask, # namespace size (NOLIMIT=unbounded)
$gen_type, # or 0 on error; $message, $gen_type,
$message ); # $prefix, & $mask are output params
Noid::queue( $noid, $contact, # return strings for queue attempts
$when, @ids ); # (failures start "error:")
Noid::n2xdig( $num, $mask ); # show identifier matching ord. $num
Noid::sample( $noid, $num ); # show random ident. less than $num
Noid::scope( $noid ); # show range of ids inside the minter
print Noid::errmsg( $noid, $reset ); # print message from failed call
$reset = undef | 1; # use 1 to clear error message buffer
Noid::addmsg( $noid, $message ); # add message to error message buffer
Noid::logmsg( $noid, $message ); # write message to minter log
Download (0.13MB)
Added: 2007-05-15 License: BSD License Price:
893 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
TUR.ID. 0.1
TUR.ID. means TURing human IDentification is a textual, highly accessible alternative to visual CAPTCHAs. more>>
TUR.ID. means TURing human IDentification is a textual, highly accessible alternative to visual CAPTCHAs involving the completion of simple phrases and based on the language recognition features of the user.
<<less Download (0.037MB)
Added: 2007-05-03 License: LGPL (GNU Lesser General Public License) Price:
906 downloads
runsuid 1.5
runsuid runs a script with another user-id/group-id, when the user has the right to do so according to the configuration file. more>>
runsuid runs a script with another user-id/group-id, when the user has the right to do so according to the configuration file.
If used in the right combination with access restrictions this can ease the life of system administrators. Additionally, it can be used for running CGI-scripts as different fixed users.
Enhancements:
- A stupid options parsing bug and a memory leak (with no security implications) were fixed.
- Spelling corrections were made.
<<lessIf used in the right combination with access restrictions this can ease the life of system administrators. Additionally, it can be used for running CGI-scripts as different fixed users.
Enhancements:
- A stupid options parsing bug and a memory leak (with no security implications) were fixed.
- Spelling corrections were made.
Download (0.020MB)
Added: 2007-01-24 License: GPL (GNU General Public License) Price:
1003 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
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 id card 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