hedy icon indicating copy to clipboard operation
hedy copied to clipboard

📜 Yatzee adventure

Open Felienne opened this issue 1 year ago • 0 comments

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

Felienne avatar Mar 11 '24 14:03 Felienne