I can save highscore when play game but when exit game, all score is lost. How do I save score when exit game?
Use Local Webstorage create a key "Highscore" and check if it exists
Develop games in your browser. Powerful, performant & highly capable.
Thanks you, it's working