> For the complete documentation index, see [llms.txt](/llms.txt)


# 4. Restart and continue playing

Restart the game and check that the same player’s coins and quest progress are restored.



Restart the game you built through chapter 3 to check that your coins and active quest are still there. This chapter needs no code or server-setting changes.

## Check that your coins are saved

1. Clear a quest and collect at least 10 coins. Once the reward appears, note the player ID and coin balance.
2. Stop and restart Play Mode. Studio logs in automatically; with the SDK, click **Log in**. Use this login method each time you restart during this chapter.
3. Compare the player ID and balance with the values you noted. They should match, with no quest in progress.

Coins and quest progress are stored in GS2. In chapter 1, you saved the credentials for the same account on the device. On restart, the game logs in with that account, and chapter 3’s display code fetches its data from GS2.

## Resume a quest in progress

1. Click Start for Forest exploration. When it appears as the active quest, stop Play Mode without completing it.
2. Restart Play Mode and log in. Check that the same player ID and active quest appear.
3. Click **Complete**. Once 10 coins are added and you can start another quest, note the balance.
4. Stop Play Mode once more, then start and log in. The noted balance should appear, with no active quest.

Also try quitting and reopening a built app. Compare the player ID and balance before and after, as you did in Play Mode.

## Compare with another account

1. Note the original player ID and coin balance.
2. In Studio, stop Play Mode, set PlayerPrefs Account Store’s **Key Prefix** to `adventure.resume-test`, and start again. With the SDK, stop Play Mode, set `AdventureLogin`’s **Account Slot** to `resume-test`, restart, and log in.
3. If this storage slot has not been used before, you get a new player ID, zero coins, and no active quest.
4. Stop Play Mode. In Studio, restore Key Prefix to `adventure.main` and restart. With the SDK, restore **Account Slot** to `main`, restart, and log in. Check that the original player ID and balance return.

[Next: Spend stamina when starting a quest]()



