You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Design Decisions:
** Websockets: Bi-directional communication. Important because the server runs the game and needs to send messages to the client without being requested.
Persistent connection. Normal HTTP requests/responses are not suitable because of the reason above, but also because there is some overhead with opening and closing connections over and over again.
Really easy to implement. We wanted a fast prototype and WebSockets are already native to browsers. Simpler and more supported than a raw TCP socket.
** Go
** ... other
How others can contribute
Possibly can create a medium post to rationalize design decisions in depth + share problems we faced + future goals
The text was updated successfully, but these errors were encountered:
We don't have docs. we need them.
Possible structure:
** Websockets: Bi-directional communication. Important because the server runs the game and needs to send messages to the client without being requested.
Persistent connection. Normal HTTP requests/responses are not suitable because of the reason above, but also because there is some overhead with opening and closing connections over and over again.
Really easy to implement. We wanted a fast prototype and WebSockets are already native to browsers. Simpler and more supported than a raw TCP socket.
** Go
** ... other
Possibly can create a medium post to rationalize design decisions in depth + share problems we faced + future goals
The text was updated successfully, but these errors were encountered: