Hacker News new | ask | show | jobs
by yetanothermonk 1838 days ago
This might be an ill-formed question given not knowing the specifics of the source code, but do you think Phoenix LiveView can be used to manage state through websockets vs the JSON payloads described in the article?
1 comments

Sorry I don’t really know enough about LiveView to give a good answer. The protocol involved here is a fairly unsophisticated game networking protocol sending delta updates of object properties and transforms at 10Hz or so, and takes the approach of ownership transfer to orchestrate which packets are authoritative. If a reader who knows LiveView understands what I just wrote, they may be able to answer :) (the library for Hubs doing this is networked-aframe)