hedy
hedy copied to clipboard
📜 Yatzee adventure
Idea for code, but this requires a "turn off timeout" option:
dobbel = 1, 2, 3, 4, 5, 6
poging = 0
voor i in bereik 1 tot 10000
yathzee = 1
poging = poging + 1
voor x in bereik 1 tot 5
y is dobbel op willekeurig
print y
if y != 5
yathzee = 0
if yathzee = 1
print 'Jaaaaaa!! Yathzee bij poging ' poging
else
clear
print 'Nog geen yathzee bij poging ' poging