First Solo - terminal hacker

After looking at Ben’s version, I can see how using a variable ‘password’ would’ve been good. However, my version works, and also gives customised congratulations depending on the level chosen. Not sure how I’d do that if I had just one ‘win’ function - unless I put in extra if statements. I’m happy with how it looks.

[edit to put code with unfolded function in it!]

Privacy & Terms