Title explains it. I'm trying to make a system that saves the points after you close the game. If someone could give me the easiest solution that would be great.
Develop games in your browser. Powerful, performant & highly capable.
local storage
Yes, I know about Local Storage except all the tutorials online are for high scores and not for just keeping a single variable.
It can save anything you want
LocalStorage save item "namegoeshere" to yourvariable