Login   Register  
PHP Classes

Card deck: Manipulate card decks

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Arturs Sosins
Name: Arturs Sosins <e-mail contact>
Packages: 22 Browse all classes by Arturs Sosins Browse all classes by
Country: Latvia Latvia - PHP jobs in Latvia
Age: 26
All time rank: 901 in Latvia Latvia
Week rank: 19 Up1 in Latvia Latvia Equal
Innovation award
Innovation award
Nominee: 13x

Winner: 2x

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can manipulate card decks.

It can add cards to a deck by adding card type rules that define identifiers to the type of cards and the number of card that will exist for each type.

The class can also shuffle the cards in the deck and deal a given number of cards to each player.

  Classes of Arturs Sosins  >  Card deck  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Card deck
Base name: card-deck
Description: Manipulate card decks
Version: 1
PHP version: 5.0
License: BSD License
All time users: 837 users
All time rank: 3759
Week users: 1 user
Week rank: 1813 Up
  Groups   Freshmeat project   Rate classes User ratings  
  Applications   Related links   Files Files  

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Games Sports and online games View top rated classes

  Innovation Award  
PHP Programming Innovation award nominee
March 2011
Number 8
There are many types of card games that employ different types of card decks.

This class provides a flexible solution to generate and manipulate custom decks of cards that can be used to implement many different types of card games.

Manuel Lemos

  Freshmeat project  
Project record: card-deck
Popularity score: 18.19
Vitality score: 31.74

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Card deck class documentation Documentation and example scripts in action

  Files folder image Files  
File Role Description
Plain text file card_deck.php Class Main class
Accessible without login Plain text file durak_game.php Example Example for game Durak
Accessible without login Plain text file poker_game.php Example Example for Texas Holdem Poker
Accessible without login Plain text file saboteur_game.php Example Example for game Saboteur
Accessible without login Plain text file uno_game.php Example Example for game UNO

Install with Composer Install with Composer - Download Download all files: card-deck.tar.gz card-deck.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.