Frontend can communicate with a webserver via websockets. It transmits positions, velocities, and directions at any given time to a central model of the game.
The web server then transmits this game state back out to any connected clients.
Need game state model that includes game frames. Would be nice if allows for efficient transfer of the current state with minimal data.
Frontend can communicate with a webserver via websockets. It transmits positions, velocities, and directions at any given time to a central model of the game.
The web server then transmits this game state back out to any connected clients.
Need game state model that includes game frames. Would be nice if allows for efficient transfer of the current state with minimal data.