Flempires (flutter-based client)
--------------------------------
+Experiment with minimal flutter build environment (only lib/ in git)
+
Bring client up to latest Empires API approach
- [🗸] Pre-allocate a game ID in the server for flempires to use (QRST, say)
+ [X] Pre-allocate a game ID in the server for flempires to use (QRST)
[ ] Change flempires from using https://families.cworth.org/api to
instead use https://lmno.games/empires/QRST
[ ] Add UI to generate a new game ID, (allow flempires to work on its own)
Example:
curl -X POST https://lmno.games/new/empires
- Returns: "WLJG"
+ Returns: "WLJG" (or some other game ID)
[ ] Implement player registration by POSTing to /register (without cookie)
Example:
-H 'Content-Type: application/json' \
-d '{"name": "Carl", "character": "Elvis"}' \
https://lmno.games/empires/QRST/register
- Returns: 1 (Or some other player ID value)
+ Returns: 1 (or some other player ID)
[ ] Implement registration with /profile and then /register
-H 'Content-Type: application/json' \
-d '{"character": "Cookie Monster"}'
https://lmno.games/empires/QRST/register
- Returns: 2 (Or some other player ID value)
+ Returns: 2 (or some other player ID)
[ ] Listen to the /events stream for the game
event: game-phase
data: {"old_phase":"none","new_phase":"join"}
-
Scribe
======