Blackjack Game
Bareal Issa
Published
0
A console-based Blackjack game implemented in Java. This project follows an MVC architecture with a focus on object-oriented programming and design patterns.
๐ฎ Features
- ๐ Fully playable Blackjack game (hit, stand, dealer rules)
- ๐จ English & Swedish support for the UI
- ๐ Deck shuffling and dealing mechanics
- ๐จโโ๏ธ Rule customization (Dealer Wins on Tie, Player Wins on Tie, etc.)
- ๐๏ธ Observer Pattern for game updates
- โ Easily extendable game logic
๐๏ธ Design Patterns Used
1๏ธโฃ MVC (Model-View-Controller) Pattern
- Purpose: Separates concerns into three components
2๏ธโฃ Observer Pattern
- Purpose: Allows views to react when the game state changes.
3๏ธโฃ Strategy Pattern
- Purpose: Provides flexibility to change game rules dynamically.
4๏ธโฃ Factory Pattern
- Purpose: Encapsulates object creation for game rules.
5๏ธโฃ Facade Pattern
- Purpose: Simplifies interactions by providing a unified interface to a complex system.