Could someone input a webstorage type thing so that my games saves the globabl variable HScore so that when you open the game your highscore will still be there. Like FlappyBurd in the way there score saves
Develop games in your browser. Powerful, performant & highly capable.
There is a tutorial that covers this and it's easy to follow.
You'll be able to modify it easily to suit your needs.