one thing to note about persisting game state: make sure you don't store any closures/functions on the game state, or they will get munged by conversion to string
Definitely been there. Not fun