Terminal hacker with array and 3 levels

I’ve included arrays for all 3 levels now, as well as making ‘password’ a member variable, and adding ‘devices’ array and ‘device’ member variable, so I can have just one congrats screen but vary it by level. Having done this, I no longer have to check the level and the password, so there’s an extraneous ‘else’ commented out at the bottom. I’m looking forward to randomising the passwords!
I did have to change my congrats text a little to correct the terminal formatting - ahhh, I remember having to do this on the Sinclair ZX81!


Privacy & Terms