Skip to content

Instantly share code, notes, and snippets.

View harbeeny's full-sized avatar
🎯
Focusing

Hunter Arbeeny harbeeny

🎯
Focusing
View GitHub Profile
@harbeeny
harbeeny / Slot_Machine.py
Last active October 3, 2023 16:21
Code that simulates a slot machine, allowing the user to keep spinning until their balance is zero or until they want to cash out. Tutorial by Tech with Tim on YouTube!
import random
MAX_LINES = 3
MAX_BET = 100
MIN_BET = 1
ROWS = 3
COLS = 3
symbol_count = {