If you refresh, you lose game state. Maybe that's ideal for some games, but I think many/most games will want to save state locally as you play.
(You can use IndexedDB for this, even on the filesystem, but you should use a unique key for your data. An IFID comes in handy here.)
If you refresh, you lose game state. Maybe that's ideal for some games, but I think many/most games will want to save state locally as you play.
(You can use IndexedDB for this, even on the filesystem, but you should use a unique key for your data. An IFID comes in handy here.)