0
0
Fork 0

Begin on planning all of the Websocket events and their data payloads.

This commit is contained in:
Oliver-Akins 2020-12-15 21:48:51 -07:00
parent b45b0658e3
commit 83934e9c19
2 changed files with 123 additions and 0 deletions

6
server/types.md Normal file
View file

@ -0,0 +1,6 @@
## Player:
| Property | Type | Description
| -------- | ---- | -----------
| name | String | The player's name.
| role | String | The player's role. This will be one of `"guesser"` or `"writer"`.
| team | Integer | The player's team. This will be one of `1` or `2`