kingcoyote / twilight

Twilight Struggle game tracker
3 stars 2 forks source link

Add cloud storage support #7

Open kingcoyote opened 3 years ago

kingcoyote commented 3 years ago

Right now, the data is stored to localStorage on the browser. This has inconsistent persistance and can't be moved across browsers. If a player wants to look at their hand from more than one computer, they can't. Cloud storage could solve this. There are APIs for Dropbox, Google Drive, OneDrive, etc. that allow an app to authenticate to someone's storage account and gain access to a folder. Moving the save game data into that folder would allow a user to share data between computers and create a more permanent storage solution.