But seriously, there's another issue here:
Deck: 2d,6d,9h,Th,3d,7d,Qc, ...
Dealer Cards: 6d,3d,7d,Qc,8h (34)
Player: Cards : 2d,9h,Th (21)
The dealer should get the 2nd and 4th cards, but looks like he got the 2nd and 5th. The deal typically gives one card to each player, then one to the dealer, then one to each player, then one to the dealer, then the players get to play.
Wow, excellent point. OP, would you mind providing some detailed description of how this bug occurred and how you fixed it (When you do)?
It seems like you have both
- A hit vs bust bug (The dealer hit on 26 when it should have registered as a bust)
- A dealing order bug (The dealer should have gotten the Ten of Hearts as their down card)
Which may or may not be related
EDIT: It seems that the software is not dealing the dealer a "down" card (In the case of a a 1 player game, one card up to the player, one card up to the dealer, one card up to the player, one card down to the dealer, all of which should occur before the player is allowed to hit). See this example, or any other game where the player hits at least once:
http://bitvegas.net/v.php?&g=blackjack&id=9462 You need to internally deal the 4th card (in a 1 player game) to the dealer, even if you do not display it until after all the players are finished making their moves