Skip to content

Abernaughty/blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack — Two Implementations

The same Blackjack game implemented in two different environments — a desktop GUI and a web browser. Both versions share the same rules and game logic but take fundamentally different approaches to the UI and platform.

Implementations

/python /web
Platform Desktop Browser
Language Python HTML / CSS / JavaScript
UI Tkinter GUI Vanilla JS
Persistence File-based (bj_balance.txt) localStorage
Run python Blackjack.py Open index.html

/python — Desktop App

A Python + Tkinter implementation with a graphical card interface, betting system, and balance tracking. Built as a learning project in Python GUI development.

Requirements: Python 3.6+, Pillow

cd python
pip install Pillow
python Blackjack.py

/web — Browser Version

A full web port of the same game — converted from Python/Tkinter to HTML, CSS, and JavaScript. Adds features like Split, Double Down, and Surrender. Also deployed at blackjack.maber.io.

cd web
# Open index.html directly in a browser — no build step required

License

MIT

About

Blackjack game with a web frontend

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors