]> git.cworth.org Git - empires-server/commitdiff
Empathy: Add support for starting the actual game
authorCarl Worth <cworth@cworth.org>
Tue, 9 Jun 2020 15:06:37 +0000 (08:06 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 9 Jun 2020 15:06:37 +0000 (08:06 -0700)
When a request is received at "/start" to start a particular prompt,
the server responds by broadcasting a "start" event to all clients
telling them to start the game.

The prompt is also set as the active prompt in the game state so that
if any new client joins while a prompt is active they will become
aware of that.


No differences found