I did this little project because im doing the computer science career path in Codecademy
How It Works
The code is written in Python using OOP with different classes:
- Card: represents each playing card.
- Deck: builds and shuffles a standard 52 card deck.
- Hand: tracks the cards held and calculates values (with ace adjustment logic).
- Player: manages drawing cards and showing hands.
- BlackjackGame: contains the game loop, decision logic, and winner checking.
Repository link: [https://github.com/elfolix/Blackjack.git]
Thanks for reviewing my project and sorry if my english is not that good
Top comments (0)