Keep a log of a games quests and their statuses.
npm install properjs-gamequest --save-dev
GameQuest will utilize localStorage. So, quest state is persisted and it will try to load from storage on initialization.
var GameQuest = ;var gameQuest = ;// Add a new questif !gameQuest// You now have an un-fulfilled quest in the loggameQuest;// Fulfill a questif /* some player action */gameQuest;// AlsogameQuest;gameQuest;gameQuest;// See allgameQuest;// Save to localStorage manually// GameQuest automatically does this for you thoughgameQuest;