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