Added wheels to slot machine.

This commit is contained in:
2026-02-02 22:44:40 +10:00
parent a5d86f822c
commit 543b57603e

View File

@@ -1,6 +1,9 @@
from Wheel import Wheel from Wheel import Wheel
class SlotMachine(): class SlotMachine():
def __init__(self): def __init__(self, screen_w=3, screen_h=3):
jackpot = 0 jackpot = 0
wheel = Wheel() wheels=[]
for i in range(screen_w):
wheel = Wheel(size=screen_h)
wheels.append(wheel)