ronaldhong / BlackJack-python

Simple Black Jack Game with Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#blackjack-python#

A Simple version of Black Jack game in Python 3.6.

Console example:

Enter number of players: 1

Player 1: KS JS - 20 points
Dealer: 5S

Player 1, do you want to hit? [y / n]: n

Dealer: 5S 6S 8C - 19 points
Player 1 wins

do you want to play again? yes/ press any key to exit yes
Enter number of players: 2

Player 1: 4D 5C - 9 points
Player 2: 5S AD - 16 points
Dealer: 8D

Player 1, do you want to hit? [y / n]: y
Player 1: 4D 5C 6D - 15 points
Player 1, do you want to hit? [y / n]: y
Player 1: 4D 5C 6D AH - 16 points
Player 1, do you want to hit? [y / n]: y
Player 1: 4D 5C 6D AH 8S - 24 points

Player 2, do you want to hit? [y / n]: n

Dealer: 8D 7C QD - 25 points
Player 1 loses
Player 2 wins

do you want to play again? yes/ press any key to exit no

==============================

About

Simple Black Jack Game with Python


Languages

Language:Python 100.0%