Skip to content
bradmaliaPublic

About

A console based blackjack game written in Python

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Blackjack

A command-line implementation of the classic Blackjack game, written in Python. image

Features

  • Interactive console GUI.
  • Betting system.
  • Standard Blackjack rules.
  • Shuffled deck with or without jokers.

Files

  • blackjack.py: The main game loop and logic.
  • deck_of_cards.py: Classes for cards and deck management.
  • blackjack_test.py: Unit tests for blackjack-specific logic.
  • deck_of_cards_test.py: Unit tests for deck management.
  • player.py: A player class (currently unused in the main game).

How to Play

Run the game using Python:

python3 blackjack.py

Running Tests

To run the tests, use the unittest module:

python3 blackjack_test.py
python3 deck_of_cards_test.py

About

A console based blackjack game written in Python

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages