Bob Newby (get it? "newbie!") used BASIC to find the four-digit security code to "hack" into the Hawkins' lab computer systems.
The code is comprised of four different for
loops. Each loops checks a digit of the combination.
The four loops are:
loop i
loop j
loop k
loop l
The each do the following:
loop i
will check each digit from 0-9 until it finds a match for the first digit.loop j
will do the same for the second digit.loop k
will do the same for the third digit.loop l
will do the same for the fourth digits.
(explanation cribbed from: https://www.reddit.com/r/geek/comments/79pxs5/stranger_things_basic_code_rewritten_in_python/dp49zky)
- The code we are editing is in the
src/
directory. - Images of Bob's BASIC code are in the
assets/
directory. - We're going to edit the code to find the proper access combination!