Skip to content

TeenaBatra/blackjack-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Blackjack-Game

Welcome to the README for the Blackjack game!

Screenshot 2023-02-18 at 9 49 48 PM

This game is a command-line interface (CLI) implementation of the popular casino card game, Blackjack(However a simple version). The objective of the game is to beat the dealer by having a hand that is worth more points than the dealer's hand, without going over 21 points.

Installation Steps:

To run the game, you will need to have Python 3 installed on your computer. Once you have Python installed, follow these steps:

  • Download or clone the repository to your local machine.
  • Open a terminal or command prompt window and navigate to the directory where the game files are located.
  • Type python main.py and hit Enter to start the game.

Game Rules:

Some rules of our blackjack game:

  • The deck is unlimited in size.
  • There are no jokers.
  • The Jack/Queen/King all count as 10.
  • The Ace can count as 11 or 1.
  • Use the following list as the deck of cards:
  • cards = [11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 10]
  • The cards in the list have equal probability of being drawn.
  • Cards are not removed from the deck as they are drawn.
  • The computer is the dealer.

Have a play around!😀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages