I have been asked by a certain someone to add a 'high-score' counter to store the highest score yet (presumably on game end)
Thoughts / Challenges
as long as there is some sort of read-write access this should be fine. however, ig that might be an issue since this is hosted on github pages? hence the changed file would have to be committed and merged
Methods
not sure yet. may be necessary to have some sort of auto-commit for the data file so the github pages can store scores between sessions (or perhaps some cookie shenanigans)
Context
I have been asked by a certain someone to add a 'high-score' counter to store the highest score yet (presumably on game end)
Thoughts / Challenges
as long as there is some sort of read-write access this should be fine. however, ig that might be an issue since this is hosted on github pages? hence the changed file would have to be committed and merged
Methods
not sure yet. may be necessary to have some sort of auto-commit for the data file so the github pages can store scores between sessions (or perhaps some cookie shenanigans)