To make space for the score we will add a 40px border around the Game Board
Add a ColorRect as a child
Set its position to x: 0, y: 960
Set Position to x:1000, y: 0
Set Position to x: 40, y: 0
Add a Label Node as a child
In Label Settings add a new LabelSettings
Expand it and set font size to 30px
Update the collision check
In the game over function
We must also update the move food function
To prevent food from spawning in walls
Create an onready reference to the label
Add a variable to manage the score
Set the starting value for score
In the move_snake function
Replace the print line for "ate food"