Solo Code Section: right idea to start with but then got lost

I wrote down what I thought was needed, I started to build and it all went wrong. My code looked like a total blood bath. This was what i wrote down before i started to code:

// Might need to set a global state for password?!
// Define password within each level.
// When user choose level, they have to guess the password for that level. 
// If they choose the right password, they win.
// If they choose the wrong password, give them a clue.

Privacy & Terms