Open jschmidt10 opened 11 years ago
yo chips - I'm not familiar with the WebSocket thing but it sounds potentially promising for the game. I imagine that the web client uses regular AJAX to fire things like Pass/Fails and Send/Dont Send, but then the server establishes a socket with all clients to push data - mainly the progression of the game. So once all clients vote on a mission, the server can use the sockets to tell them all that it's the next round.
Did you do polling in the one you made? What do you think?
Yea, I think we should use as much of HTML 5/ new ECMA script standard as possible. Yea, in my version I do AJAX polling which isn't as snappy as it could be with web sockets.
create a browser version of the client for playing the game. needs:
We don't need to do it with HTML5 canvas but that might be a good way to display some nice graphics. Also, HTML5 has the WebSocket which allows the server to push data to the client.