BUG
DETECTIVES
find the bug · fix the code · reach the star
WHAT IS A BUG?
Computers do EXACTLY what we tell them...
even when we are wrong!

A BUG is a mistake in the instructions.
DEBUGGING means finding it and fixing it.
THE DETECTIVE METHOD
1
PREDICT

What SHOULD
the alien do?

2
TEST

Go one step
at a time.

3
FIX

Change ONE thing,
then test again.

CASE 1
BUGS HIDING: 1
THE ALIEN'S CODE · CLICK AN ARROW TO CHANGE IT
PREDICTwhat should happen?
TESTone step at a time
FIXchange one thing
CASE CLOSED!
all bugs squashed · nice detective work!
1
PREDICT
2
TEST
3
FIX
So... what will YOU do next time
your game or code breaks?
SPACE run · S step · R reset · H hint · F fullscreen