mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-12 15:50:20 -08:00
Update stars.ms
This commit is contained in:
@@ -11,16 +11,16 @@ instructions = function
|
||||
print
|
||||
end function
|
||||
|
||||
print " " * 34 + "STARS"
|
||||
print " " * 15 + "CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
|
||||
print " " * 34 + "Stars"
|
||||
print " " * 15 + "Creative Computing Morristown, New Jersey"
|
||||
print; print; print
|
||||
|
||||
ans = input("Do you want instructions? ").lower
|
||||
ans = input("Do you want instructions? ").lower + " "
|
||||
if ans[0] == "y" then
|
||||
instructions
|
||||
end if
|
||||
|
||||
while 1
|
||||
while true
|
||||
print
|
||||
print "OK, I am thinking of a number, start guessing."
|
||||
starNum = floor(rnd * kMaxNum) + 1
|
||||
|
||||
Reference in New Issue
Block a user