I’ve created a coin clicking game
and I want the progress to be automatically saved when the user exits the game. When the user comes back to play it, the progress should be the same as when they left.
Can anyone please help me make a function that saves it?
Here is my code: