MitjaCH / Python-Slotmachine

A minigame i made in python because i was bored
5 stars 0 forks source link

Python Slotmachine Minigame

This Python script simulates a simple slot machine minigame. Players can set their bets, number of lines to bet on, and deposit money to play the game. The script generates random symbols in a grid-like slot machine and calculates winnings based on the aligned symbols.

How to Use

  1. Setup: Open the Python file in your preferred environment.
  2. Adjust Settings: Modify the constants at the beginning of the script (MAX_LINES, MAX_BET, MIN_BET, ROWS, COLS, symbol_count, symbol_value) to suit your preferences.
  3. Run the Game: Execute the script and follow the instructions on the console.
  4. Deposit: Enter the amount you'd like to deposit to start playing.
  5. Place Bets: Specify the number of lines to bet on and the bet amount per line within the allowed limits.
  6. Play the Game: Press Enter to spin the slot machine and see the results.
  7. Quit: Type 'q' and press Enter to exit the game.

Functions Overview

Feel free to explore and modify the code according to your preferences!