shtwzrd/battlechat

Define interfaces between Client and Server

shtwzrd opened this issue · 0 comments

Figure out what the data looks like for the models sent over the wire

Needs:
Ship-placement models (sent Client to Server)
Firing models (sent Client to Server)
Valid firing locations (sent Server to Client)
Ship listings (sent Server to Client, at start of placement phase)
Game status messages (sent Server to Client, to inform Client of placement versus playerX firing turn, player Y firing turn, player X win, player Y win, etc)
Chat messages (sent Client to Server, then Server to Clients)