RosettaCodeData/Task/Loops-Break/MOO/loops-break.moo
2023-07-01 13:44:08 -04:00

9 lines
133 B
Text

while (1)
a = random(20) - 1;
player:tell(a);
if (a == 10)
break;
endif
b = random(20) - 1;
player:tell(b);
endwhile