I am creating a game in which a user memorises 100 words and after the player has memorised the word, they can mark it as memorised.
To do so, I was thinking of creating a loop which cycles through each of the words and checks to see if there is a save file to indicate that word has been memorised. And each time they mark a word as memorised a save file for that word is created e.g. "applememorised".
Is this the best way to approach this issue?
Please see my attempt below (Doesn't work):
Any help would be appreciated.
Develop games in your browser. Powerful, performant & highly capable.