Update stars.ms

This commit is contained in:
chinhouse
2023-09-16 19:05:13 -07:00
committed by GitHub
parent 01e2d0c9e3
commit 8a5763893a

View File

@@ -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