Login   Register  
PHP Classes
elePHPant
Icontem

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 <contact>
Classes: 22 packages by
Country: Latvia Latvia
Age: 26
All time rank: 841 in Latvia Latvia
Week rank: 28 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: 881 users
All time rank: 3679
Week users: 2 users
Week rank: 908 Up
 
  Groups   Rate classes User ratings   Applications   Related pages   Files Files  

  Groups  
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

  User ratings  
Not enough user ratings

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

  Related pages  
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.