Command detective

Command detective for ages 6+: 60 freshly generated programs, commands get longer. Play free right in the browser, no account or install needed.

Command detective flips the usual coding exercise around: the program is already written, but it runs wrong, and the child has to find the broken instruction and repair it. Run it, watch where the character goes astray, compare that against the goal, then fix the step at fault. Sixty freshly generated programs come with progressively longer command sequences. Reading a program someone else wrote, predicting what it will do, and locating the one thing that is wrong — that is debugging, and programmers spend more time on it than on writing new code.