Lesson 30 of 79 · 15 minutes
Looping until the answer is right: Password Door
The vault door keeps asking until the visitor gives the right word, or walks away.
This game is part of the full course.You own the full course.
Unlock all 79 Python coding games for $9, once.Opening the game…
Unlock for $9Play now
What you'll learn
- Keep asking until it's right
- Why the question appears twice
- A way out: quit
- Only three tries
- Asking only once
Each idea opens with a short narrated video, about 2 minutes in all. Then you put it to work in the game.
The six levels
- New Password Change it
- Until It's Right Copy and type
- A Way Out Fill the gap
- Three Tries Write it
- Stuck at the Door Fix it
- The Night Shift Boss level
The levels go from changing one word, to writing the code on your own. The boss level changes every time you play.
New to Python? Start with the free games in Module 1.