]> git.cworth.org Git - empires-server/commit
game: Send a game-info event when a client connects
authorCarl Worth <cworth@cworth.org>
Fri, 5 Jun 2020 01:17:48 +0000 (18:17 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 5 Jun 2020 12:28:57 +0000 (05:28 -0700)
commitee64666099c0401afdc1e51fe378359f943d3f69
treeda30b0ca8e4f832af4033733c886be01df469fed
parent731c54ef14f2fdc852961c7c2429117d4e7472d6
game: Send a game-info event when a client connects

This is in the generic Game class so all games will get this
functionality. This will allow clients to be able to display the
game's ID and URL so players can invite friends.
game.js