I want to reset but I used the localstorage to save the variables I put a reset button on my game but it does not work can someone help me please
Can you be a bit more specific?
There is a built-in action on the Local Storage object "Clear local storage".
Did you try to fire that and it doesn't work, or is it something else?
Develop games in your browser. Powerful, performant & highly capable.
There's also a "reset global variables to default"