I have designed a web-based card game that I would like to implement in Solid. Every player would have a solid account and one player is designated the ‘Host’ for any specific game - the details of the state of the game to be saved in this user’s POD. I am looking to use a simple enough method for storing a game. The game would have an initial state which could be stored as a Json string and then a series of ‘Actions’ that are applied to the game. Each action is basically an array of integers. An action is applied by a particular user and would need to propagate to all current users in the game. So this leaves me with two questions:
How would I save/restore the json string for the initial state of a game in a user’s POD using rdflib?
Can I store the list of actions in an ordered sequence such that I can use the UpdateManager so all users are notified of new actions being added?