Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
8
Task/Guess-the-number/MAXScript/guess-the-number.max
Normal file
8
Task/Guess-the-number/MAXScript/guess-the-number.max
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
rand = random 1 10
|
||||
clearListener()
|
||||
while true do
|
||||
(
|
||||
userval = getKBValue prompt:"Enter an integer between 1 and 10: "
|
||||
if userval == rand do (format "\nWell guessed!\n"; exit)
|
||||
format "\nChoose another value\n"
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue