<@U7RGCMZPU> Let's say you have a model of the gam...
# tornadofx
c
@runt9 Let's say you have a model of the game rules + player capabilities + team capabilities + weather + randomness. You create a model. Your friend creates a model. You run the simulation for an entire game, play-by-play, allow for in-game adjustments in accordance with the rules (ex, no changing the weather). In a peer-to-peer system,one of you runs the game and transmits updates to the other. You'll do some kind of message passing to share the initial models, in-game adjustments, and display updates. When it comes time to save something, you'll have an object model that's the basis for the simulation. This can be saved in total in a format like JSON which will be very close to your object model. If you need to save something -- say the computer restarts -- you can save this as a file and optionally send it to your friend and/or the cloud. An RDMBS could be used to support the service registry which manages the accounts. This way the two game players can find each other.