COLORADO: 11:03 am
JAPAN: 2:03 am

-1098 days for S+Y!

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: PHP Blackjack Simulator
PostPosted: Mon Dec 09, 2013 2:43 pm 
User avatar

Joined: Sun Nov 08, 2009 7:03 pm
Posts: 1548
Location: Colorado

This class can simulate a Blackjack game with one player.

It can start a game adding cards for the player and the bank.

The player can either add more cards until it reaches the score 21 or stand so the bank plays adding its cards and end the game.

The class can return the final results when the game ends.

The cards added by the bank and the player are stored in class variables, so it is possible to get the list of cards to display to the player user.

Contact me directly: Ironfeatherbooks (@)


Bookmark and Share

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 guests

Search for:

This site contains adult natured content. All material submitted to this site is the sole responsibility of the submitter.

© 2023 Iron Feather Journal


Recent Visitors: