Welcome to Python Slot Machine Game! This is a simple console-based slot machine game implemented in Python.
This Python script implements a basic slot machine game where players can place bets, spin the reels, and win payouts based on the combinations of symbols displayed on the reels. The game provides interactive prompts for the player to place bets and play again, with warnings for invalid inputs.
- Random Symbol Generation: The slot machine randomly generates symbols for each reel.
- Payout Calculation: Payouts are calculated based on the combinations of symbols displayed on the reels.
- Interactive Gameplay: The game provides prompts and warnings to guide the player and handle invalid inputs.
- Blinking Warning Messages: Warning messages appear and disappear in a blinking manner for better user interaction.
To play the Python Slot Machine Game, follow these steps:
-
Clone the repository to your local machine:
https://github.com/kevinleung96/python-slot-machine.git
-
Navigate to the project directory:
cd python-slot-machine -
Run the
main.pyscript:python main.py
- When prompted, enter the amount you want to bet.
- Follow the on-screen instructions to play again or exit the game.
- Enjoy the excitement of spinning the reels and winning payouts!
- The slot machine has 3 reels, each displaying a random symbol from the set of symbols: π π π π β.
- Payouts are awarded based on combinations of matching symbols on the reels.
- The game continues until the player decides to quit or runs out of balance.
Contributions are welcome! If you have any suggestions, feature requests, or bug reports, please open an issue or create a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.