Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaeltoddprogramming/cli-slot-machine
I wrote a short program in python to replicate a very simple slot machine
https://github.com/michaeltoddprogramming/cli-slot-machine
Last synced: about 2 months ago
JSON representation
I wrote a short program in python to replicate a very simple slot machine
- Host: GitHub
- URL: https://github.com/michaeltoddprogramming/cli-slot-machine
- Owner: michaeltoddprogramming
- Created: 2024-02-16T23:46:18.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-02-17T00:09:32.000Z (11 months ago)
- Last Synced: 2024-02-17T01:24:12.424Z (11 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CLI SLOT MACHINE IN PYTHON 🎰
This program simulates a basic slot machine game where players can spin the reels and potentially win big payouts 😎
I did this because I myself do enjoy gambling......Sometimes.....# How to Play
Upon running the program, you will be presented with a chance to deposit a balance amount.
You will be prompted to enter the amount of lines you would like to play.
You will be prompted to enter the amount you want to bet on each spin.
The program will randomly generate three symbols for each reel.
If you get a winning combination, you will earn a prize based on a set multiplyier for each symbol. ( As of right now, only a match of symbols horizontally results in a payout )
Your balance will be updated accordingly, and you can continue to spin the reels ( ENTER ) or choose to quit the game ( q ).
# Features
Random Reel Generation: The program generates random symbols for each reel upon spinning.
Simple User Interface: Easy-to-understand prompts and messages guide the user through the game.
Balance Management: Keeps track of the player's balance and updates it after each spin.