Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def play(self):
- myChef: Player = self.players[0]
- # GAME LOGIC
- # fetch a dish, pick ice cream and drop the dish on an empty table
- if not myChef.item.has_plate:
- self.use(self.Dishwasher.pos)
- elif ICE_CREAM not in myChef.item.content:
- self.use(self.IceCream.pos)
- elif BLUEBERRIES not in myChef.item.content:
- self.use(self.Blueberry.pos)
- else:
- # once ready, put it on the first empty table for now
- self.use(self.Window.pos)
Advertisement
Add Comment
Please, Sign In to add comment