PHP Classes

PHP Poker Engine: Shuffle and evaluate a Poker deck of cards

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum (10)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 44%Total: 5,722 All time: 412 This week: 339Up
Version License PHP version Categories
phppokerengine 3.1GNU General Publi...5.0Games
Description Author

This package can be used to implement a Poker game engine.

It has a class that can deal and shuffle a deck of cards.

There is another class that can evaluate a deck of cards to check if it matches a Poker sequence.

In case the deck matches a Poker sequence it returns the name of the sequence and the number of points it is worth in the Poker game.

Picture of Jayme Fishman
Name: Jayme Fishman <contact>
Classes: 1 package by
Country: United States United States
Age: 51
All time rank: 51166 in United States United States
Week rank: 563 Down63 in United States United States Up

  • screenshot.jpg
  Files folder image Files  
File Role Description
Plain text file pokerDeck3.php Class Creates deck, shuffles, deals
Plain text file aPokerGameEngineTestv3.htm Example sample output for v3 using random hands
Plain text file aPokerGameEngineTestv3.php Example Randomly deal hands to test the V3 of the engine
Plain text file phpPokerEngineV3.1_PI.php Class Part I of the new engine V3
Plain text file phpPokerEngineV3.1_PII.php.txt Class Part two of the new engie V3
Plain text file phpPokerTest.php Example sample to show how to create a custom hand for testing without a deck
Plain text file testTexasDeck.php Example shows how to use the dealTexas method in the deck class to create values, display them, and evaluate the results
HTML file testtexasdecksample Output tests the use of the dealTexas method and functions that return values after it is run
Plain text file helpFile.txt Doc. Help File
Plain text file phppokertestv3.htm Output A new version of the old test file output
Plain text file pokerDeck2.php Class new poker deck class with better random shuffle
Plain text file pokerDeck2_readme.txt Doc. release notes for new pokerDeck2 class with improved shuffle
Plain text file testTexasDeckweb3.php Example New example with images

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:412
This week:339Up
User Ratings User Comments (3)
 All time
well done
9 years ago (Caracalla Libre)
10 years ago (woraphon)
Too bloated.
14 years ago (Bob)