clockworkgeek / bolide

0 stars 0 forks source link

high score tracking #11

Open knectardev opened 4 years ago

knectardev commented 4 years ago

my niece requested a means to track and display high scores. I'm loathe to introduce an actual database for this, but was thinking storage could be accomplished with a writable JSON file.

But I'm not sure if hosting here on Github will allow read-write access on files, do you? @clockworkgeek

clockworkgeek commented 4 years ago

github.io definitely doesn't support anything so complex as that. You can store data locally with LocalStorage which is similar to how cookies work. p5 uses this for storing items. For shared data your only option is a server with some sort of database but 'database' is a broad term and could even suggest a writable JSON file.