A feature-rich, premium slot machine game built with Python and Tkinter. This latest version introduces persistent save states, auto-spin mechanics, a detailed history log, and a Gaussian distribution system for a fairer, more thrilling gameplay loop.
Say goodbye to extreme streaks of bad luck! We've replaced the old flat RNG with a Normal (Gaussian) Distribution System using the Box-Muller transform.
- Outcomes naturally cluster around mid-tier rolls.
- Extreme outliers (like hitting the lowest payout or the mega jackpot) are mathematically rarer, making those big jackpot wins feel like a genuine, momentous achievement!
Never lose your progress again. The new Persistence System automatically records your balance, total wins, and total losses to a local save_game.json file. Your casino empire waits exactly where you left it.
- Auto-Spin: Sit back and let the machine do the work with the new toggleable "AUTO" system.
- Audio Control: Instantly mute or unmute the sound effects using the interactive toggle directly on the top navigation bar.
- Fullscreen Support: Immerse yourself in the action with the new dedicated fullscreen toggle (or by pressing F11).
- Royal Gold & Obsidian Aesthetic: We've stripped away the chaotic neon effects in favor of a sleek, luxurious layout featuring deep obsidian backgrounds, frosted glass panels, and sharp gold typography.
- Structured Architecture: The interface has been rebuilt into a professional layout with a dedicated top navigation bar, a central slot stage, and a unified bottom control deck.
- Curved Cylinder Reels: Custom scrolling mechanics enhanced with a stippled gradient illusion to simulate curved metal slot cylinders.
- Live History Sidebar: Keep track of your hot streaks. The expanded History Dashboard is now flawlessly integrated into a unified right sidebar, logging every win and loss during your session in real time.
- Luxurious Animations: Experience a slow, breathing golden radial glow behind the machine, smooth hover states on the buttons, and a sophisticated scale-bump font effect whenever you hit a big win.
- Python 3.x
pygamelibrary (for sound effects)
- Clone the repository:
git clone https://github.com/toxicbishop/Slot-Machine.git
- Navigate to the latest version folder:
cd "Slot-Machine/Slot-machine version 3.2"
- Install dependencies:
pip install -r ../requirements.txt
- Run the game:
python Slot_Machine_v3.2.py
- Start with your current saved balance (or a fresh ₹20,000).
- Enter your bet amount.
- Click SPIN and wait for the symbols to line up.
- Winning combinations require 3 of the same symbol across the reels:
- Cherry: 2x Bet
- Watermelon: 4x Bet
- Lemon: 6x Bet
- Bell: 10x Bet
- Clover: 15x Bet
- Star: 25x Bet
- Diamond: 50x Bet
Distributed under the MIT License. See LICENSE for more information.
