halfdane / battleship

Tiny two player game
GNU General Public License v3.0
0 stars 0 forks source link

Invite other player to game #3

Open halfdane opened 7 years ago

halfdane commented 7 years ago

Display a link that can be shared with someone else. Clicking the link should open the greeting page where the other player can enter their name and attach to the running game.

Both players are proceeding to the next state.

Clicking an invalid link should display an error message.

if no client is connected to a game, it may time out making the invitation invalid

Technical

the current game is identified by their of the actor holding the game's state. To update the initial player's view, websockets or some such will be used. The socket will be kept open throughout the game to facilitate the client's state to be updated at any time