PHP Classes

MageSource's CardDeck: Manipulate decks of cards

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 395 All time: 6,612 This week: 54Up
Version License PHP version Categories
carddeck 1.0GNU General Publi...5PHP 5, Games
Description 

Author

This class can be used to manipulate decks of cards.

It can perform several types of operations to manipulate a deck of cards.

Currently it can shuffle the deck, get a card with a give position in the deck, get the card name, color, suit, value and graphic, etc..

Picture of Anthony J Clink
Name: Anthony J Clink <contact>
Classes: 1 package by
Country: United States United States
Age: 40
All time rank: 3565470 in United States United States
Week rank: 227 Up23 in United States United States Up

Screenshots (1)  
  • sceenshot.png
  Files folder image Files (60)  
File Role Description
Files folder imageimages (56 files)
Files folder imageincludes (1 file)
Plain text file documentation Doc. documentation
Plain text file example.php Example an example of my carddeck

  Files folder image Files (60)  /  images  
File Role Description
  Image file 10-c.png Output ten of clubs
  Image file 10-d.png Output ten of diamnods
  Image file 10-h.png Output ten of hearts
  Image file 10-s.png Output ten of spades
  Image file 2-c.png Output 2 of clubs
  Image file 2-d.png Output Two of Diamonds
  Image file 2-h.png Output 2 of hearts
  Image file 2-s.png Output 2 of spades
  Image file 3-c.png Output 3 of clubs
  Image file 3-d.png Output 3 of diamonds
  Image file 3-h.png Output 3 of hearts
  Image file 3-s.png Output three of spades
  Image file 4-c.png Output four of clubs
  Image file 4-d.png Output 4 of diamonds
  Image file 4-h.png Output 4 of hearts
  Image file 4-s.png Output four of spades
  Image file 5-c.png Output 5 of clubs
  Image file 5-d.png Output 5 of diamonds
  Image file 5-h.png Output 5 of hearts
  Image file 5-s.png Output five of spades
  Image file 6-c.png Output 6 of clubs
  Image file 6-d.png Output 6 of diamonds
  Image file 6-h.png Output 6 of hearts
  Image file 6-s.png Output six of spades
  Image file 7-c.png Output seven of clubs
  Image file 7-d.png Output seven of diamonds
  Image file 7-h.png Output seven of hearts
  Image file 7-s.png Output seven of spades
  Image file 8-c.png Output eight of clubs
  Image file 8-d.png Output eight of diamnods
  Image file 8-h.png Output eight of hearts
  Image file 8-s.png Output eight of spades
  Image file 9-c.png Output nine of clubs
  Image file 9-d.png Output nine of diamonds
  Image file 9-h.png Output nine of hearts
  Image file 9-s.png Output nine of spades
  Image file a-c.png Output ace of clubs
  Image file a-d.png Output ace of diamonds
  Image file a-h.png Output ace of hearts
  Image file a-s.png Output ace of spades
  Image file facedown.jpg Output graphic for backs of cards
  Image file j-c.png Output jack of clubs
  Image file j-d.png Output jack of diamonds
  Image file j-h.png Output jack of hearts
  Image file j-s.png Output jack of spades
  Image file joker-b.png Output black joker
  Image file joker-r.png Output red joker
  Image file k-c.png Output king of clubs
  Image file k-d.png Output king of diamonds
  Image file k-h.png Output king of hearts
  Image file k-s.png Output king of spades
  Image file nocards.png Output graphic for no cards left
  Image file q-c.png Output queen of clubs
  Image file q-d.png Output queen of diamonds
  Image file q-h.png Output queen of hearts
  Image file q-s.png Output queen of spades

  Files folder image Files (60)  /  includes  
File Role Description
  Plain text file CardDeck.php Class my card deck class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:395
This week:0
All time:6,612
This week:54Up
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:58%StarStarStar
Examples:58%StarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2530