Player lives: Using global variables
We're going to give the player character multiple lives, so that you won't immediately lose when you crash into something. While this tutorial carries on from Boundaries and finish lines: Using "less than" and "greater than", we'll also be building on concepts learned from Score: Using Variables and Dangerous obstacles: Collisions and physics.