This commit is contained in:
NikolajDanger committed 2024-02-19 11:21:07 +01:00
1 parent de0377397f
commit e8dfb94860
34 files changed
+295 -38

No files matched your search

+10
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|