This commit is contained in:
2024-02-19 11:21:07 +01:00
parent de0377397f
commit e8dfb94860
34 changed files with 295 additions and 38 deletions

View File

@ -0,0 +1,10 @@
hello|
$do random<1;128;> -> n|
$0 -> guess|
until variable guess = variable n [
$do input<'guess: ';> -> guess|
do print<'too high';> if variable guess > variable n|
do print<'too low';> if variable guess < variable n|
do print<'correct!';> if variable guess = variable n|
]|
goodbye|