Skip to content

Instantly share code, notes, and snippets.

@kshitij10496
Last active November 12, 2017 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kshitij10496/0f66f2e326dd7750bcfa21568f8f5c7e to your computer and use it in GitHub Desktop.
Save kshitij10496/0f66f2e326dd7750bcfa21568f8f5c7e to your computer and use it in GitHub Desktop.
BASIC program as written by Bob "Superhero" Newby in Stranger Things S02E08
DIM FourDigitPassword INTEGER
FOR i = 0 TO 9
FOR j = 0 TO 9
FOR k = 0 TO 9
FOR l = 0 TO 9
FourDigitPassword = getFourDigits (i,j,k,l)
IF checkPasswordMatch(FourDigitPassword) = TRUE THEN
GOTO 140
END
NEXT l
NEXT k
NEXT j
NEXT i
PRINT FourDigitPassword
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment