Skip to content

Instantly share code, notes, and snippets.

@rigred rigred/OhGodWhy.bas
Created Oct 30, 2017

Embed
What would you like to do?
Bad BASIC - Stranger Things
10 DIM FourDigitPassword INTEGER
20 FOR i = 0 TO 9
30 FOR j = 0 TO 9
40 FOR k = 0 TO 9
50 FOR l = 0 TO 9
60 FourDigitPassword = getFourDigits(i,j,k,l)
70 IF checkPasswordMatch(FourDigitPassword) = TRUE THEN
80 GOTO 140
90 END
100 NEXT i
110 NEXT k
120 NEXT j
130 NEXT i
140 PRINT FourDigitPassword
150 END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.