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 iloop jloop kloop l
The each do the following:
loop iwill check each digit from 0-9 until it finds a match for the first digit.loop jwill do the same for the second digit.loop kwill do the same for the third digit.loop lwill 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!