hawkthorne/hawkthorne-journey — pull request #1911 by DakkJaniels (2013-12-01 23:10:57+00:00)
Title: Fixed issues with splits, cleaned up indents, major rewrite of blackjack code

(Hopefully I did this right, let me know if you have any questions or if I need to do something else)
Changes:
-tried to declare as many variables as possible as local.
-cleaned up indents and spaces
-added comments for readability.
-additional splits are allowed after first split through modification of gameMenu function
-splits and double downs are allowed in the second or higher hand
-deck is not shuffled after every draw, only reshuffled after number of cards dips below threshold: DECKRESHUFFLE
-removed different tables that held player and dealer hand information. Almost all info relevant to the hand is within the playerHand and dealerHand tables.
-Simplified count code with the addition of a flag that indicates if the hand has an ace.
-Modified bet addition/subtraction code
-modifications to the card animation/update functions (using is_variable for bools for readability)
-other misc./minor changes.