1
0

Adding game persistence

Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
James Ketrenos 2022-01-27 13:27:23 -08:00
parent a4c15e83d3
commit 72d3dcd157
3 changed files with 20 additions and 0 deletions

View File

@ -154,3 +154,21 @@ curl -k -s -X POST http://localhost:8930/ketr.ketran/api/v1/games/
```bash
curl -k -s -X GET http://localhost:8930/ketr.ketran/api/v1/games/:id
```
# States
Chat is available at all times by registered players
## Lobby
* Register session+name
* Register session with color
* Unregister player+name from color
* Roll dice for player position
* Shuffle board
* Set "Ready" for player
* All ready? state == active
## Active
*

2
server/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
games/*
!games/.keep

0
server/games/.keep Normal file
View File