Skip to content

A command-line slot machine game featuring betting logic, randomized payouts, and symbol matching. πŸŽ°πŸ’Έ

Notifications You must be signed in to change notification settings

hirahoussam/python-slot-machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 

Repository files navigation

Python Slot Machine 🎰

A command-line slot machine game that simulates betting, spinning reels, and calculating payouts. This project demonstrates logical thinking, math operations, and user input validation in Python.

πŸš€ How to Play

  1. You start with 1000 MAD.
  2. Enter your bet amount for each spin.
  3. If you match 3 symbols in a row, you win based on the multiplier!
    • πŸ’ Cherry: 3x
    • πŸ‰ Watermelon: 4x
    • πŸ‹ Lemon: 5x
    • πŸ”” Bell: 10x
    • ⭐ Star: 20x
  4. The game ends when you run out of money or choose to quit.

πŸ› οΈ Built With

  • Python 3
  • Random Module

πŸ’» How to Run

Make sure you have Python installed, then run:

python main.py

About

A command-line slot machine game featuring betting logic, randomized payouts, and symbol matching. πŸŽ°πŸ’Έ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages