X-Git-Url: https://git.cworth.org/git?p=lmno-todo;a=blobdiff_plain;f=TODO;h=48fb75a7402b82b47560c366425f780460eae541;hp=04a2bb84b1151eafe666c1a59a0c126a3c29a455;hb=e8007a9f9f45a2a765d5ec42a056ff9499e3f6b6;hpb=3c7500d4ef4b41261cde83bc18884884155bdd40 diff --git a/TODO b/TODO index 04a2bb8..48fb75a 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,17 @@ +Ordered list (repeating some of the below) +----------------------------------------- + +1. Fix empathy bug with rejoining (Andrew as Zombie) + +2. Finish implementing Empires + Empathy ======= +Allow players to see what their current name is (currently +disappearining among the list which is sorted by overall score) and to +change their name if desired. + Fix bug Andrew saw where he went into a Zombie mode: He left the game, and came back. When he was back his word scores were shown, but his name was left off the round scores, stayed gray in the overall scores, @@ -52,6 +63,50 @@ no history beyond a single message per sender) Fix bug that allows people to re-reveal characters after game has started. +Flempires (flutter-based client) +-------------------------------- + +Bring client up to latest Empires API approach + + [🗸] Pre-allocate a game ID in the server for flempires to use (QRST, say) + + [ ] Change flempires from using https://families.cworth.org/api to + instead use https://lmno.games/empires/QRST + + [ ] Add UI to ask user for a game ID, (obviating the QRST ID) + + [ ] 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" + + [ ] Implement player registration by POSTing to /register (without cookie) + Example: + curl -X POST \ + -H 'Content-Type: application/json' \ + -d '{"name": "Carl", "character": "Elvis"}' \ + https://lmno.games/empires/QRST/register + Returns: 1 (Or some other player ID value) + + [ ] Implement registration with /profile and then /register + + Note: This approach requires obtaining a cookie from the + /profile request and then providing that cookie on the + subsequent /register request. The -c and -b command-line options + of curl can be used to demonstrate this: + + Example: + curl -c cookie-file \ + -X PUT \ + -H 'Content-Type: application/json' \ + -d '{"nickname": "Cookie"}' \ + https://lmno.games/profile + curl -b cookie-file \ + -X POST \ + -H 'Content-Type: application/json' \ + -d '{"character": "Cookie Monster"}' + https://lmno.games/empires/QRST/register + Scribe ====== @@ -69,4 +124,4 @@ Detect glyphs and highlight background of squares belonging to glyphs Detect winner of mini-grid and overlay sumbol of player on mini-grid -Declare overall winner (both in "majority" and "superglyph" mode) \ No newline at end of file +Declare overall winner (both in "majority" and "superglyph" mode)