Added item shuffling
This commit is contained in:
2
game.py
2
game.py
@ -92,6 +92,8 @@ class Game(gameUtils.Game):
|
|||||||
self.items.append(WheelItem('Get shocked at 100%'))
|
self.items.append(WheelItem('Get shocked at 100%'))
|
||||||
self.items.append(WheelItem('Get slapped by\neveryone in the room'))
|
self.items.append(WheelItem('Get slapped by\neveryone in the room'))
|
||||||
self.items.append(WheelItem('Respin, wheel hidden'))
|
self.items.append(WheelItem('Respin, wheel hidden'))
|
||||||
|
random.shuffle(self.items)
|
||||||
|
|
||||||
# How many pixels away from the outer side of the
|
# How many pixels away from the outer side of the
|
||||||
# circle the text should be
|
# circle the text should be
|
||||||
textMargin = 5
|
textMargin = 5
|
||||||
|
|||||||
Reference in New Issue
Block a user