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
TCP/8888 - using line based protocol, used by rose-client
TCP/8880 - used for web side, xmlrpc, and websocket
Trying to deploy on Heroku (see #187), it seems that we don't have a way to serve a custom port in this platform. I'm not sure if this is also an issue on OpenShift.
We discussed offline the option of replacing the custom port with websocket, enabling deployment on Heruko and other platforms that are optimized for web development.
New design
Player connection protocol
player: connect to server using websocket
server: accept connection, wait for message
player: send "join" message
server: register player, send "update" message to all clients
Watcher connection protocol
watcher: connect to server using websocket
server: accept connection, wait for message
watcher: send "watch" message
server: register watcher, send "update" message to all clients
Game protocol
server: send "update" message with "started: true" to all clients
player: send "drive" message
watcher: update the UI
Game completion
server: send "update" message with "started: false"
Currently we have listen to 2 ports:
Trying to deploy on Heroku (see #187), it seems that we don't have a way to serve a custom port in this platform. I'm not sure if this is also an issue on OpenShift.
We discussed offline the option of replacing the custom port with websocket, enabling deployment on Heruko and other platforms that are optimized for web development.
New design
Player connection protocol
Watcher connection protocol
Game protocol
Game completion
Changes needed
see: https://github.com/crossbario/autobahn-python/blob/master/examples/twisted/websocket/echo/client.py
The text was updated successfully, but these errors were encountered: