Play a few games of Blackjack with fake money. Written in Python. All functions available, but you can only split once. Side bets are not yet included.
Play a few games of Blackjack with fake money. Written in Python. All functions available, but you can only split once. Side bets are not yet included.
Started adding the structure for side bets. Created a list of possible side bets, and the factor of whether or not you can make the bet.
I need to add the payout function
Log in to leave a comment
This is my first-ever project, and my first time actually coding. I created blackjack, because it was one of the first things that came into my head, and I thought it would be relatively easy to code, especially for a beginner like me. You can hit, stand, double down, and split, but only once. During this project, I learnt how to make a file, so the balance continuously updates. However, this code may not be the most stable thing ever, but it works (90% confident), and that’s what matters!
Debugged splitting function:
-Made sure you can’t overspend on doubling down
-Correct payouts for split variations
Version 1 of Project is ready to be shipped
Log in to leave a comment
Created the rules
Last thing before shipping: verify there are no bugs when splitting
Log in to leave a comment
Debugged the entire project:
Log in to leave a comment
Created the comparison between dealers hand and both of your hands in split.
Will look at entire code, debug, then ship it.
After shipping, I will add side bets and re-ship it
Log in to leave a comment
Created the split function - only allows splitting on the original hand. Basically had to copy the same actions for a regular hand twice for each hand of split.
Still considering adding side bets, but will probably ship this when it’s ready and re-ship it when side bets are included.
Log in to leave a comment
Created the system that store balance and updates balance accordingly.
Still need to create a split option
Side bets will be added
Log in to leave a comment
Created the dealer’s automatic hit or stand
Created the comparison between your hand and the dealer’s hand
Still need to add a split ability
Still need to work out how the balance will work.
Interested in adding side bets to make the game as realistic as possible.
Log in to leave a comment
Created the beginning variables, and the random number generator. Created the cycle for hitting, and created the end for when you bust.
Need to go back and add more variables, such as current balance and making sure you can’t bet more than you have, as well as adding a split option, but those are extras that will be added when the basic structure is done.
Log in to leave a comment