Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/24-game/ProDOS/24-game.dos
Normal file
11
Task/24-game/ProDOS/24-game.dos
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
:a
|
||||
editvar /modify -random- = <10
|
||||
printline These are your four digits: -random- -random- -random- -random-
|
||||
printline Use an algorithm to make the number 24.
|
||||
editvar /newvar /value=a /userinput=1 /title=Algorithm:
|
||||
do -a-
|
||||
if -a- /hasvalue 24 printline Your algorithm worked! & goto :b (
|
||||
) else printline Your algorithm did not work.
|
||||
:b
|
||||
editvar /newvar /value=b /userinput=1 /title=Do you want to play again?
|
||||
if -b- /hasvalue y goto :a else exitcurrentprogram
|
||||
Loading…
Add table
Add a link
Reference in a new issue