Skip to content

Saksham1000/Text_Based_Slot_Machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🎰 Text-Based Slot Machine (Python) This is a simple terminal-based slot machine game developed in Python. The game allows players to deposit money, choose how many horizontal lines (up to 3) they want to bet on, and specify a custom bet amount per line. Once the bet is placed, the player spins a 3x3 slot machine filled with randomly selected symbols based on predefined frequencies. If a player matches the same symbol across a bet line, they win an amount calculated using symbol-based payout multipliers. The game includes features such as balance tracking, dynamic symbol distribution, and informative feedback on winnings and losses after each spin.

βš™ Gameplay Details Symbols have different frequencies and payout values:

A (2 instances) β†’ 5Γ— payout

B (4 instances) β†’ 4Γ— payout

C (6 instances) β†’ 3Γ— payout

D (8 instances) β†’ 2Γ— payout To win, all three symbols in a horizontal line (that you bet on) must match.

πŸ’» How to Run To play the game, ensure Python 3 is installed on your system. Run the script using python main.py in your terminal or command prompt. Follow the on-screen instructions to deposit money, place your bets, spin the machine, and see if you win!

About

This is a simple text-based slot machine game built with Python for the terminal. The player can deposit money, choose how many lines to bet on (up to 3), place a bet per line, and spin a randomized 3x3 slot machine to try and win based on symbol matches.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages