Created
October 30, 2017 09:23
-
-
Save rigred/484e8ba77578a4ac6fff983995e6b899 to your computer and use it in GitHub Desktop.
Bad BASIC - Stranger Things
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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