Skip to content

Latest commit

ย 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

GimmeurWallet

A software application simulating a virtual casino environment, allowing users to interact with three different game modes: Blackjack, Roulette, and Slot Machine.

๐Ÿ—๏ธ System Architecture

The project is built using the Model-View-Controller (MVC) design pattern to ensure a clean separation of concerns:

  • Centralized Control: A main controller manages the initial game selection requests and implements MouseListener to handle user interactions on the primary interface.
  • Shared State: The Escape model serves as the shared resource (the wallet), maintaining a consistent player balance across all three game modules.
  • Modular Design: Each game operates within its own MVC structure, coordinated by specific controllers and dedicated windows.

๐ŸŽฎ Game Modules

๐Ÿƒ Blackjack (BJController)

Coordinates the betting process and verifies wallet funds.

  • Animations: Uses sequential timers for card distribution.
  • Logic: Automatically calculates scores, manages additional card requests, and updates the shared wallet based on the hand's outcome.

๐ŸŽฐ Slot Machine (SMController)

Simulates a classic reel-spinning experience.

  • Concurrency: Utilizes concurrent threads to manage the independent rotation of the three reels.
  • Rewards: Checks for winning combinations and jackpots, processing payments directly to the wallet.

๐ŸŽก Roulette (RTController)

Provides a comprehensive betting interface.

  • Betting: Allows users to place chips on specific numbers or external zones.
  • Processing: Calculates wins or losses by comparing the total amount wagered against the result of the spin and updates the balance accordingly.

๐Ÿ› ๏ธ Technical Highlights

  • Pattern: Model-View-Controller (MVC).
  • Concurrency: Multithreaded reel simulation in the Slot Machine.
  • UI/UX: Event-driven interaction via MouseListener and animated gameplay via Timers.

About

Small school project in java, with Swing for the graphics, mvc code structure and comments

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages