Inspiration

One of our members is an avid gambling fan and pitched the idea to create a simple blackjack game. It was the best idea that was pitched and we went with it.

What it does

Our game simulates a round of blackjack against the dealer (NPC/Computer). When you run the program, the player (you) are given 2 cards from a deck and the program totals up your current score. Only one of the dealers' cards is revealed to the player. After the reveal of the first two cards, the player has the option to hit or stand. Hit means to add another card and stand means there is no input and determines whether the player or dealer won the round. If the player has a higher score, less than or equal to 21, they win. If the dealer has a higher score, less than or equal to 21, they win. If either the player or dealer scores above a 21, they bust (automatic loss).

How we built it

We began researching how a round of blackjack is played and the rules. We then learned how to apply this game to Python, a language most of us have limited knowledge on. We looked up various ways to code the game and learned how it is applied into code. We then began to put the game into code.

Challenges we ran into

We had issues with when the player goes over 21 and making sure the game ended in this instance.

Accomplishments that we're proud of

We are proud that the game works the way we intended it to.

What we learned

We learned how to code blackjack in Python. We also learned a lot of new things about Python.

What's next for Blackjack

We want to learn the front-end design of this game.

Built With

Share this project:

Updates