resibrx / BlackJack

Would you like to play a game?

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blackjack

Blackjack is a card game that pits player versus dealer.

Preparation

Clone the project and start your virtual env. If you don't know how this works look here: https://www.codingforentrepreneurs.com/blog/install-django-on-mac-or-linux

You need the latest Python3 version: https://www.python.org/downloads/

automated tests for this system

Blackjack Rules

The goal of blackjack is to beat the dealer's hand without going over 21. Face cards are worth 10. Aces are worth 1 or 11, whichever makes a better hand. Each player starts with two cards, one of the dealer's cards is hidden until the end. To 'Hit' is to ask for another card. To 'Stand' is to hold your total and end your turn. If you go over 21 you bust, and the dealer wins regardless of the dealer's hand. If you are dealt 21 from the start (Ace & 10), you got a blackjack.

Start the game

Start the python script and the game will guide you.

About

Would you like to play a game?


Languages

Language:Python 100.0%