Try to click the ghosts. Blue ghosts are 1 point Purple ghosts are 3 points Bugs are 5 points.
I made this following the Raspberry Pi tutorial