PHP Classes

Deck: Shuffle and view a deck of playing cards

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-09-29 (8 years ago) RSS 2.0 feedStarStarStar 54%Total: 1,018 This week: 5All time: 3,377 This week: 305Up
Version License Categories  
deck 1.0.0GNU General Publi...PHP 5, Games
Description Author  

This class can be used to display a deck of playing cards.

It can present the cards as images, as well display their names in English.

The class can also pick random cards for the deck and rank them according to their value.

Picture of Zafar Iqbal
Name: Zafar Iqbal is available for providing paid consulting. Contact Zafar Iqbal .
Classes: 8 packages by
Country: Greece Greece
Age: 41
All time rank: 2872 in Greece Greece
Week rank: 101 Up1 in Greece Greece Up
Innovation award
Innovation award
Nominee: 2x

  • Ace-of-Spades.png
  Files folder image Files  
File Role Description
Plain text file deck.php Class Class FIle
Accessible without login Plain text file readme.txt Data ReadMe
Plain text file test-deck-image.php Example Output the playing card image
Plain text file test-deck-randomcard.php Example View a random card
Plain text file test-deck-view.php Example View the full deck

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,018All time:3,377
 This week:5This week:305Up
User Ratings User Comments (1)  
 All time
Very clever, nicely done.
6 years ago (F Philip DeGeorge)