Skip to content

About

A Python slot machine game demonstrating randomization, betting systems, and game logic using a 3x3 grid and symbol-based payouts.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

🎰 Python Slot Machine Game

Overview

This project is a command-line Slot Machine game written in Python.
Players can deposit money, choose the number of lines to bet on, place bets, and spin the slot machine to win rewards.

The game randomly generates symbols for a 3x3 slot machine grid and checks for winning combinations.


Features

  • Deposit money to start playing
  • Bet on 1–3 lines
  • Adjustable bet amount per line
  • Random symbol generation
  • Winning line detection
  • Jackpot detection
  • Balance tracking

Symbols and Payouts

Symbol Frequency Multiplier
A 2 5x
B 4 4x
C 6 3x
D 8 2x

Higher value symbols appear less frequently.


Winning Condition

You win if all symbols match in a selected row.

Jackpot

You win a Jackpot if all symbols in the grid are identical.


Technologies Used

  • Python
  • Random module
  • Command Line Interface (CLI)

Concepts Demonstrated

This project demonstrates:

  • Python functions
  • Dictionaries
  • Loops and conditionals
  • Random number generation
  • Input validation
  • Game logic design

About

A Python slot machine game demonstrating randomization, betting systems, and game logic using a 3x3 grid and symbol-based payouts.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages