45–90Mess LowA laptop or this studio's code workshop
A game with one honest bug
Build (or describe) a tiny game that contains one bug on purpose. The grown-up has to find it by playing — not by reading the code first.
Materials
- Scratch, MakeCode Arcade, Bitsy, or this studio's turtle and tiny engine
- A notebook for 'what should happen'
Steps
- 1
Make or sketch a tiny game: a jumper, a collector, a turtle drawing.
- 2
Plant one real bug: a jump that never leaves, a score that climbs every frame, a square that is a line. Hide it in the behavior, not in a comment that says BUG.
- 3
Write, in one sentence, what a player should experience. Do not show this sentence yet.
- 4
The grown-up plays for three minutes and names the bug as a player would: 'I press jump and nothing happens.' Then open the code together and hunt.
Talk about
- Was the bug easier to see as a player or as a reader?
- If you had to leave the bug in as a feature, what game would it become?
Stretch. Fix it. Then plant a second, kinder bug — one that is funny instead of broken.