Comment by matthewfcarlson
6 hours ago
I tried to build something like this during covid and got into the weeds around syncing a vuex store across server/client based on pinia (https://pinia.vuejs.org). Vue3 separated the reactivity model from the framework so when the server made a change, it forwarded the event automatically to clients. Since the game state was a series of mutations, it made it easy to replay on a client along with net code style rollback in the case of conflicts.
All told, congrats shipping something!
No comments yet
Contribute on Hacker News ↗