Example
Nine errors and a stranded fox
The fox is stuck on the second cloud again. Miles is building a platform game for his sister Hiba’s ninth birthday on Saturday, with a fox jumping from cloud to cloud and her name on the title screen. Most of the code came from an AI chat, and until tonight it worked.
Then he asked it for a double jump. The new code threw an error, so he pasted the error back into the chat, and that fix broke something else. By a quarter past ten he has pasted nine errors in a row. The fox gets one double jump per game, and Miles can’t find the line in his own game that should reset it when the fox lands.
The chat had been doing the moves for him. Coding is learned by doing it, which means trying something, watching it fail and working out why. When a tool hands over the answer that early, the practice that builds the skill may get skipped, and working through the errors Miles kept handing off is part of how the brain learns. His game moved forward all week while his skill stayed flat.
He opens a new chat and types, “Don’t write any code. My double jump only works once per game. Ask me one question.” It asks what happens to the jumps when the fox lands. He finds the landing check, writes his own reset on the back of a worksheet and types it in, and now the fox can jump forever. He asks the chat to point to the part that failed without fixing it, and it tells him the reset also runs in midair. He fixes that himself.
Before eleven the fox double jumps across every cloud. On Friday he adds a spring cloud on his own with one hint, and at the party, when Hiba asks how the spring works, he shows her the line.
- Where it stallsHe pastes nine errors in a row, and the fox is stuck after one double jump.
- What changes itHe asks the chat for one question and writes his own fix on paper.
- What happens nextThe double jump works, and he builds the spring cloud himself.
