Skip to content

Jamieriedel/Python_Project_Slot_Machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Python_Project_Slot_Machine

This is a simple command-line-based slot machine game build in Python. In this game, players can deposit money into their balance, place bets, and spin the slot machine to win or lose money based on the outcome of the spin.

Installation

Clone the repository to your local machine:
!git clone https://github.com/jamieriedel/slot-machine.git

Navigate to the project directory.

Run the game:
!python3 main.py

Gameplay

Deposit:

At the start of the game, players are prompted to deposit money into their balance. They can enter the amount they wish to deposit, which should be a positive integer.

Place Bet:

Players can choose the number of lines to bet on and the amount of money they want to bet per line. The maximum bet amount is set by MAX_BET, and the minimum bet amount is set by MIN_BET.

Spin the Wheels:

After placing their bets, players can spin the slot machine reels. The reels consist of a grid of symbols, and each spin generates a random arrangement of symbols.

Winning:

Players win money based on the combination of symbols that appear on the reels. The winning combinations are determined by the symbol_count and symbol_value dictionaries.

Continue Playing:

Players can continue playing by pressing Enter or quit the game by typing 'q' when prompted.

Credits

This game was created by Jamie-Lee Riedel. Feel free to contribute to the project by submitting bug fixes, feature enhancements, or suggestions for improvement.

Screenshot 2024-03-11 at 22 21 27

About

This is a simple command-line-based slot machine game build in Python. In this game, players can deposit money into their balance, place bets, and spin the slot machine to win or lose money based on the outcome of the spin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages