There is a typo mid way down. 'A wait until block is necessart to check whether Flappy is touching the pipes or touching the edge.' https://projects.raspberrypi.org/en/projects/flappy-parrot/6