Project 544: Infinite Runner

8. Add a score

Make a new variable called "Score" and set it to 0 at the start of the game.
Starting point file for this challenge

Your goal

Steps

1. Make a score variable

Go to your orange variables blocks, and click "Make a Variable." Call it score. 

2. Initialize it to 0

Find a "when green flag clicked" block in your player, and directly underneath it put an orange "set __ to __ block." Set score to 0. Make sure this block is not accidentally in a forever loop!