🔮 Escape the Render Room

Six locks • one vault code • 12‑minute target • CSP Activities 1.1.1 + 1.1.2

Briefing

The render finished. The door did not open.

Six locks stand between you and the exit, and each one gives up a single digit. They get harder as you go. Every wrong answer costs you 15 seconds. The vault will not open on a lucky guess — it checks that you actually earned all six digits.

Everything here comes from the two activities you have already done. Nothing is new.

Lock 1 • Warm-up

Type Triage

A user runs this program and types 7 at the prompt. What is sitting inside lives right now?

# arena.py lives = input("How many lives? ")
Lock 2 • Diagnosis

The Crash

This program stops before it draws anything. The user typed 16. You need both answers right at the same time — what breaks, and what fixes it.

age = input("How old are you? ") next_year = age + 1 print(next_year)
What breaks?
What fixes it?
Lock 3 • Pattern

The Arc Decoder

Four shapes came out of the renderer. Match each one to the call that drew it. All four must be right before the lock moves.

Lock 4 • Sequence

Solid or Hollow

Four statements, one correct order, and a renderer that will happily draw you an empty shape if you get it wrong. Click them into the program in the order they must run. One wrong placement resets the lock and costs you 15 seconds.

Your program
Lock 5 • Anatomy

Name Every Part

The renderer will not accept a command it cannot parse. Label all four pieces. All four at once, or the lock stays shut.

painter . circle (50)
painter
.
circle
(50)
Lock 6 • Boss

Read the Whole Render

Last one. Trace this program line by line. The user types 60 at the prompt. Three answers, all required, all at once.

size = int(input("How big? ")) painter.fillcolor("orange") painter.begin_fill() painter.circle(size, 360, 3) painter.end_fill() painter.penup() painter.forward(200) painter.pendown() painter.circle(size, 180, 2)
Shape 1 is…
Shape 2 is…
Between them…

🔒 The Vault

Six digits, in the order you earned them.

🎉 You are out.

00:00