Where you're headed: a safe that answers in colour and words, a guess count ticking down, and the green flash of a crack — opened here with two guesses to spare.
In Bleeper the machine tested your memory. Here it tests your
reasoning. Safe Cracker hides a number behind a locked door; you guess, and the safe tells
you whether the code is higher or lower, the screen warming toward red as you close in. The trick
at its heart is deduction: every answer narrows the hunt, and a careful cracker needs only a
handful of tries — but tries are exactly what you’re short of.
This is the game where you meet the loop-with-a-goal — not a FOR loop that counts to a
fixed number, but a loop that runs until something happens: the safe cracks, or the guesses run
out. Two ways to end, win and lose. Every game you build after this — Rover’s finish line,
Dropzone’s landing — is built on that shape.
What you’ll build:
A hidden code the machine picks with RND
A guess taken with INPUT and weighed against the secret
A higher-or-lower hint that turns a miss into a direction
A loop that runs until the safe is cracked
Colour feedback — the background warming red or cooling blue before the words
A guess limit and a lose state, so the safe can stay shut