SunQuest
           Older Contests
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP ContestsOlder Contests

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old February 6th, 2004, 04:29 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
[Blackjack] Dealer busts after I bust

It is entirely possible I am doing something boneheaded, I am new to php, but you can try to reproduce my results by setting $seed to 101. On the second hand dealt, I am dealt Q, 3. I hit, get another Q and bust. When I look at the dealer's hand, she has 2, 9, 2, 9, 9. Not only did she bust, but she took an extra card *after* busting. 2+9+2+9=22, + another 9 = 31.

Dealer: 2 Total: 2
My hand: 3 Q Total: 13 - Hit.
My hand: 3 Q Q Total: 23
BUST! - dealer had 2 9 2 9 9 Total: 31
Money: $1000

Similar wierdness in the third hand:

Dealer: 6 Total: 6
My hand: 4 J Total: 14 - Hit.
My hand: 4 J 9 Total: 23
BUST! - dealer had 6 9 Q 9 Total: 34
Money: $1000

Reply With Quote
  #2  
Old February 6th, 2004, 06:40 AM
Jeff321 Jeff321 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Near Chicago, IL, USA
Posts: 45 Jeff321 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to Jeff321
[Blackjack] RE: Dealer busts after I bust

Double check it's not just a problem with the logic of your output. I've never seen the dealer over-draw like that.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsOlder Contests > [Blackjack] Dealer busts after I bust


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway