This is a project made just for fun and trying to explore the world of gambling as well as creating a "Gaming Library" in PHP
My general idea is to create a "GamesManager" which will be able to deal multiple types of cards and card games. By making it modular I hope to use as few compontents as possible to deal cards for games such as Spider, Three Card Poker, Blackjack & Patience.. more may come as ideas flow and depending on poupular demand
In later state even adding card games with other set of cards and rules like UNO, Cards Against Humanity & such that may be played at social gatherings
Require PHP-file in your document Initialize with
$Games = new TMSE\GamesManager();
$Games->dealBlackjack([number of decks to use]);
- Add betting
- Add "Double Down"
- Add ability to keep playing with the same set/deck(s) of cards
- Multiplayer
- Make it possible for player to set number of decks to be used
- Publish frontend