From 543b57603e192d38eae7829e85d9b133791218cb Mon Sep 17 00:00:00 2001 From: BigGamerGary Date: Mon, 2 Feb 2026 22:44:40 +1000 Subject: [PATCH] Added wheels to slot machine. --- src/py/slots/Slots.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/py/slots/Slots.py b/src/py/slots/Slots.py index 9adb1e1..c4279e8 100644 --- a/src/py/slots/Slots.py +++ b/src/py/slots/Slots.py @@ -1,6 +1,9 @@ from Wheel import Wheel class SlotMachine(): - def __init__(self): + def __init__(self, screen_w=3, screen_h=3): jackpot = 0 - wheel = Wheel() \ No newline at end of file + wheels=[] + for i in range(screen_w): + wheel = Wheel(size=screen_h) + wheels.append(wheel) \ No newline at end of file