Skip to content

Functionality Added to Twenty-One Program#1

Open
MarioVivanco wants to merge 9 commits intojavelinco:masterfrom
MarioVivanco:master
Open

Functionality Added to Twenty-One Program#1
MarioVivanco wants to merge 9 commits intojavelinco:masterfrom
MarioVivanco:master

Conversation

@MarioVivanco
Copy link
Copy Markdown

I added some new functionality to the program:

  • Made it possible to make a bet on each hand. Player starts with 1000 chips.
  • Made it so that the player will gain more chips if they win and lose chips if they lose. Blackjack win pays 2.5 to 1 any other win pays 2 to 1.
  • Added the ability for a player to Double-Down on a hand. They can do this when they have only two cards or the value of their hand is 9, 10, or 11. It also will make sure that they are unable to hit again after Doubling-Down.
  • Fixed bug where player could bet more chips than they had

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant