Skip to content

Simplified and Terminal-based Blackjack game in Python

Notifications You must be signed in to change notification settings

Shubhi0406/Blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack Terminal-Based Game

This is a simplified and terminal-based version of the Blackjack card game implemented in Python.

Features:

  • Card dealing and scoring logic
  • Interactive gameplay with user input
  • Win/loss determination based on Blackjack rules
  • Play multiple rounds in a single session

How to Play:

  1. Run the main.py script in a Python environment.
  2. Follow the prompts to play the game.
  3. Enter 'y' to start a new game or 'n' to exit.

Gameplay:

  • The user is dealt two cards initially.
  • Input 'y' to get another card or 'n' to pass during your turn.
  • The game will continue until you decide to pass or your score exceeds 21.
  • The computer will then play its turn, following specific rules.
  • The winner is determined based on the Blackjack rules.

About

Simplified and Terminal-based Blackjack game in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages