Ensure that Game Records are properly created in `UserContext` when puzzles are saved or completed
Closed this issue · 2 comments
jaohara commented
Ensure that Game Records are properly created in `UserContext` when puzzles are saved or completed
jaohara commented
I think I need to rework how gameRecords
and completedPuzzles
are calculated - they shouldn't be nested within the userProfile
state in UserContext
and derived from a memo, but rather should exist in state as their own thing.
This might require some more reworking - this is my current most important issue.
jaohara commented
I pulled the values out to exist in state. I still don't have the "save puzzle" functionality working, but I'm going to break that out into its own issue.