Ages 9–14 · Grades 5–8 · Computer Science

BugTales

Real coders spend more time fixing code than writing it. Here, every character has one bug they always make — Offby goes one too far, Equals mixes up = and ==, Zero divides by nothing. You read what they wrote, mark the line you think is wrong, then reveal the real output, the fix, and write the bug report yourself. Mark first — that is the reading move.

These programs are written in a teaching subset of the Swift language.

Loading the debug lab…

Meet the cast — the characters who teach this

  • Offby always stops one too soon or goes one too far
  • Equals says make this equal when it meant is this equal
  • Andor wants both things but asks for either one
  • Range reaches for an item that isn't there
  • Zero tries to share something into zero groups
  • Hush runs with no error but quietly gets the answer wrong
  • Forever goes round and round and never stops

What next? Pick a door

Chosen from what this app is about. What you open is remembered on this device only.