So basically I'm trying to made a little stupid small game engine. I coded and tested it in the Try It window, then copied that code and pasted it into Mini Micro. I want to then save and package that into an HTML file, but the second I ctrl-v it, it skips straight to the "while true" part, past the part where you enter the actual game text. Could someone help? Thanks! Here's the code:
print "welcome to GLGRE (Go Left Go Right Engine)"
story = 0
option1 = 0
option2 = 0
story1 = 0
story2 = 0
choice = 0
story = input("what is the story?")
option1 = input("what is the first option?")
option2 = input("what is the second option?")
story1 = input("what is the text after selecting the first option?")
story2 = input("what is the text after selecting the second option?")
while true
print story
print option1 + " - type 0"
print option2 + " - type 1"
choice = input("Choose your option")
if choice == "0" then
print story1
input("Double tap enter to continue")
else if choice == "1" then
print story2
input("Double tap enter to continue")
else
print "Type either 1 or 0"
end if
end while