RosettaCodeData/Task/Loops-Break/MOO/loops-break.moo

10 lines
133 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
while (1)
a = random(20) - 1;
player:tell(a);
if (a == 10)
break;
endif
b = random(20) - 1;
player:tell(b);
endwhile