Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Slot Machine Game


Author - Aliasgar Sogiawala

Overview

This is a simple text-based slot machine game built in Python. The game simulates a classic casino slot machine where players can place bets and spin the reels to try their luck at winning virtual money.

Features

  • Colorful emoji symbols (🍒, 🍋, 🍊, 🍇, 🔔, 💎, 7️⃣, 🍀)
  • Different payout multipliers for each symbol combination
  • Betting system with balance tracking
  • Simple and intuitive command-line interface
  • Animated reel spinning

How to Play

  1. Start with an initial balance of $100
  2. Enter your bet amount for each spin
  3. Watch the reels spin and see if you get a winning combination
  4. Three matching symbols in a row will award you a payout based on the symbol value
  5. Continue playing until you run out of money or choose to quit

Payout Table

  • 🍒🍒🍒: 5x your bet
  • 🍋🍋🍋: 10x your bet
  • 🍊🍊🍊: 15x your bet
  • 🍇🍇🍇: 20x your bet
  • 🔔🔔🔔: 25x your bet
  • 💎💎💎: 50x your bet
  • 7️⃣7️⃣7️⃣: 100x your bet
  • 🍀🍀🍀: 200x your bet

Setup and Installation

Prerequisites

  • Python 3.6 or higher

Installation

  1. Clone or download this repository to your local machine
  2. Navigate to the game directory in your terminal
cd /Users/Asus/Desktop/100LinesOfCode/slot-machine
  1. Run the game using Python
python slot_machine.py

Game Controls

  • Enter your bet amount when prompted
  • Press Enter to spin the reels
  • Type '0' or 'q' to exit the game

Enjoy the game!