Store previous data

I followed the tutorial series by Chris for making the “War” card game. No issues with that process but I wanted to expand upon the app and learn how to store the current score of a game so I could pick up where I left off if the app was closed.

A google search lead me to userDefaults but this topic is a little beyond my understanding and skill level. Open to any help with using this method or another one that would be better.

War game tutorial link: https://www.youtube.com/watch?v=09TeUXjzpKs

you might want to move forward for now, there will be databases later on in the course so you can go back and improve the previous apps once you learn it :slight_smile:

Can you share a link?
I found his youtube channel so I’m not sure what video or set of videos would lead me to the database information you’re talking about.

you can check out the firestore tutorial

Thanks I’ll check this out!