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
When joining the game, server sends to the client a game key that should be used to schedule turns and query the game state.
schedule the game turn
When scheduling a turn, each client sends to the server their shot power and direction parameters.
When all the players in a game have been scheduled their turns, server simultaneously performs the turns.
query the state of the game
When the client queries the game state, server sends the game map and the shot/direction history for each player. Shot information also contains a coordinates where the shot has been exploded and information whether any of players was hit by the collision.
Each game should have a round timeout. If any of the clients haven't scheduled their turn in time, their shooting phase should be skipped.
The text was updated successfully, but these errors were encountered:
(Excerpt from #29.)
Server should provide HTTP API capable of:
register a new game
query game list
join a game
schedule the game turn
query the state of the game
Each game should have a round timeout. If any of the clients haven't scheduled their turn in time, their shooting phase should be skipped.
The text was updated successfully, but these errors were encountered: