Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
|
|
@ -1,5 +1,5 @@
|
|||
PROGRAM "nim-game"
|
||||
VERSION "0.0000"
|
||||
PROGRAM "nim-game"
|
||||
VERSION "0.0000"
|
||||
|
||||
DECLARE FUNCTION Entry ()
|
||||
|
||||
|
|
@ -11,10 +11,10 @@ DO WHILE monton > 0
|
|||
PRINT "There are "; monton; " tokens remaining. How many would you like to take? ";
|
||||
llevar = UBYTE(INLINE$(""))
|
||||
DO WHILE (llevar <= 0) OR (llevar > 3)
|
||||
llevar = UBYTE(INLINE$("You must take 1, 2, or 3 tokens. How many would you like to take"))
|
||||
llevar = UBYTE(INLINE$("You must take 1, 2, or 3 tokens. How many would you like to take"))
|
||||
LOOP
|
||||
|
||||
PRINT "On my turn I will take"; 4 - llevar; " token(s)."
|
||||
PRINT "On my turn I will take"; 4 - llevar; " token(s)."
|
||||
monton = monton - 4
|
||||
LOOP
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue