Lucky Number
Turn the guessing game you built in Meet BASIC into a real game: a secret between 1 and 100, a border that runs hot and cold, sound that points the way, and a verdict at the end.
You already built the heart of this game. In Meet BASIC you wrote a guess-the-number loop — the computer picks a secret, you guess, it counts your tries. Lucky Number opens on that working game and turns it into one you'd want to play: feedback you can see, feedback you can hear, and a result that means something.
The game is there from Unit 1 — playable, complete. Every unit after that adds one layer that makes it feel like a game, not just work like a program: colour, sound, an offered start, a framed win, a rating.
What you will build:
- A border that runs cold blue to burning white, by
ABSdistance - Directional sound — a low beep for "go higher", a high one for "come down"
- A win fanfare and a green winner's border
- An offered start with
PAUSE, so the game feels invited, not inflicted - A rating that turns a guess count into a verdict
5 units. About 5–7 hours. This builds on Meet BASIC — start there if you haven't.
Unit roadmap
The foundation
The working guess game, brought over from Meet BASIC
Feedback
Colour for how close, sound for which way
Framing the result
An offered start, a framed win, and a verdict