monofuel / badmars

html5 multiplayer rts game
https://japura.net/badmars
Other
4 stars 1 forks source link

Push user changes to players #14

Closed monofuel closed 7 years ago

monofuel commented 7 years ago

If the user data changes, we should push it to the user so that they can know the latest colors of all users.

monofuel commented 7 years ago

time estimate: an hour or so. copypaste watching code from unit monitoring to the player table, and forward new player info on the websocket.

monofuel commented 7 years ago

user listener added to client.js