Skip to content

Instantly share code, notes, and snippets.

@erkyrath
Created June 14, 2014 01:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erkyrath/a3cd7c4bb61cf56a0a69 to your computer and use it in GitHub Desktop.
Save erkyrath/a3cd7c4bb61cf56a0a69 to your computer and use it in GitHub Desktop.
Somebody out there will laugh...
BASIC is a room.
To (line - number) PRINT (msg - text): (- .basic_{line}; print (TEXT_TY_Say) {msg}; new_line; -).
To (line - number) GOTO (dest - number): (- .basic_{line}; jump basic_{dest}; -).
When play begins:
10 PRINT "Hello.";
20 GOTO 40;
30 PRINT "This is never printed.";
40 PRINT "Goodbye.";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment