Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 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