ucsb-cs56-projects / cs56-games-blackjack

-
9 stars 12 forks source link

[BUG] Changing the bet amount starts the bet from $5000, regardless of the amount that the player had before #63

Closed sean-shelton closed 6 years ago

sean-shelton commented 6 years ago

When you are in the middle of playing the game and you click "Change Bet Amount", the game will reset whatever money you had back to $5000 and then take the difference of $5000 and the bet in order to determine your new total.

e.g. If I only had $100, I could click "Change Bet Amount", bet $25, and have $4975.

Estimated 100 points