Blackjack Game

Bareal Issa
Published

0
  • Project creator

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.

Repo: https://www.twine.net/signin