Running the game
Run the game and you will see a blank blue screen with the current score and the message Tap To Play!:
Tap the screen, the text disappears, and the update
method gets called ten times per second.
We have made a good start with the Snake game, though most of the code we wrote was like the Live Drawing project. The exception was the way in which we selectively call the update
method only when one-tenth of a second has elapsed since the previous call to update
.