Spark & Anvil Privacy

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

BugTales

Offby wants 1, 2, 3. The loop is for i in 1...4, and the tape is blank. Tap to run it.

Every character has one bug they always make: read what they wrote, mark the line you think is wrong, then reveal what it really does.

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.