If anyone is wondering why the highscore system didn't work. Thats just because you need to kill the snake so that it saves your highscore. In order to kill the snake you'll have to try find a way to get it to go into itself.