Davis Patterson

Web Developer & Designer

I build

user-friendly
interactive

digital experiences.

Blackjack

Python

OOP

Python implementation of the classic Blackjack game, played in a command-line interface against the computer. Follows the standard rules of the game and features betting and card counting. Developed independently with object oriented programming principles.

  • Renders visual cards in the command line by constructing ASCII art images line by line using a reference file.
  • Allows for multiple multiline card images to be displayed side-by-side, simulating the player's hand.
  • To maintain a consistent visual layout, the game frequently refreshes the command line screen by clearing it and reprinting the updated game state.