Files
gralias/todos.md
T

112 lines
5.5 KiB
Markdown
Raw Normal View History

2025-05-09 09:28:30 +03:00
### feats
2025-07-02 19:00:39 +03:00
- implement transactional pattern in db write methods; +
2025-07-02 16:47:17 +03:00
- implement the db methods for sessions in repos/session.go; +
2025-06-27 12:05:55 +03:00
- auto close room if nothing is going on there (hmm) for ~1h; +
2025-06-13 19:37:17 +03:00
- words database (file) load and form random 25 words; +
- invite link; +
- login with invite link; +
2025-06-14 11:37:42 +03:00
- there three places for bot to check if its its move: start-game; end-turn, after mime gave clue; +
- remove bot button (if game is not running, or bot already added); +
2025-06-27 15:23:45 +03:00
- hide clue input for mime when it's not their turn; +
2025-06-13 19:37:17 +03:00
- needs resend to llm btn; +
2025-06-27 15:23:45 +03:00
- check if clue word is the same as one of the cards and return err if it is; +
- autoscroll down backlog on update; +
- instead of guessing all words at ones, ask only for 1 word to be open. +
- ways to remove bots from teams; +
2025-06-29 09:40:21 +03:00
- mark cards (instead of opening them (right click?); +
- on end of turn clear all the marks; +
2025-06-30 17:39:07 +03:00
- different files for each supported lang; +
- sse div to bot thinking; +
- simplify mime prompt; +
- redo card .revealed use: it should mean that card is revealed for everybody, while mime should be able to see cards as is; +
2025-06-15 09:51:25 +03:00
- better styles and fluff;
- common auth system between sites;
2025-07-12 21:02:10 +03:00
- signup vs login; +
- passwords (to room and to login); +
2025-06-29 09:40:21 +03:00
===
- show in backlog (and with that in prompt to llm) how many cards are left to open, also additional comment: if guess was right;
2025-06-15 11:44:39 +03:00
- gameover to backlog;
2025-06-27 15:23:45 +03:00
- cleanup backlog after new game is started;
2025-06-15 11:44:39 +03:00
- ended turn action to backlog;
2025-06-29 09:40:21 +03:00
===
2025-06-19 18:37:16 +03:00
- clear indication that model (llm) is thinking / answered;
2025-07-06 15:42:41 +03:00
- possibly turn markings into parts of names of users (first three letters?); +
- at game creation list languages and support them at backend; +
- sql ping goroutine with reconnect on fail; +
2025-07-12 21:02:10 +03:00
- player stats: played games, lost, won, rating elo, opened opposite words, opened white words, opened black words. +
2025-07-11 14:12:05 +03:00
- at the end of the game, all colors should be revealed;
2025-07-11 14:18:10 +03:00
- tracing;
====
- action history to bot (not json); basic stuff: what words were previously given as clue and guessed (maybe what team bot is on);
- automate getting list of free and non-thinking openrouter models;
2025-05-09 09:28:30 +03:00
#### sse points
- clue sse update;
- join team;
- start game;
- end turn;
- open card;
- game over;
- timer per turn (when added);
### issues
2025-06-27 15:23:45 +03:00
- after the game started (isrunning) players should be able join guessers, but not switch team, or join as a mime; +
2025-06-14 11:37:42 +03:00
- guessers should not be able to open more cards, than mime gave them +1 (auto end turn); +
2025-06-15 11:44:39 +03:00
- mime rejoined the room: does not see colors; state save in store.json has empty role and team +
- restart bot routines after server restart; +
2025-06-27 15:23:45 +03:00
- remove verbs from word file; +
- if mime joins another role, he stays as mime (before game start); +
- guesser llm makes up words, likely the prompt should be more clear; +
- remove bot does not remove for player roles in the room; +
2025-06-29 09:18:52 +03:00
- guesser did not have same number of guesses (move ended after 1 guess); show how much guesses left on the page (red after blue); +
- 0 should mean without limit; +
2025-06-29 09:40:21 +03:00
- remove join as mime button if there is a mime already on that team (rewrite teampew templ); +
- bot clues to lowercase; +
- guesser bot no request after game restart; (not a bug)
- openrouter 429 errors (retry); +
- retry call to llm (if 400|429|4xx); +
- there is a clue window for a mime before game started; +
2025-06-27 15:23:45 +03:00
- sse hangs / fails connection which causes to wait for cards to open a few seconds (on local machine) (did not reoccur so far);
- invite link gets cutoff;
2025-07-06 15:42:41 +03:00
- when llm guesses the word it is not removed from a pool of words making it keep guessing it; +
- bot team does not loses their turn after white card (or limit); +
- name check does not work;
2025-07-06 15:42:41 +03:00
- game did not end when all blue cards were open; +
- bot ends a turn after guessing one word only; +
- sync writing to json cache; what happens now: timer (or other side routine) overwrites old room, while mime making clue; +
-----------------
2025-07-05 10:16:17 +03:00
- card marks; +
- on server recover relaunch guess timer if needed;
2025-07-06 15:42:41 +03:00
- start new game: clear last clue; mimedone to false; unload old cards; +
2025-07-05 11:30:58 +03:00
- backlog shows white word with opposite color;
2025-07-06 15:42:41 +03:00
- bot actions are not recorded; +
- bot recieves opp-color clue because of it ^; +
- old cards are still around; +
2025-07-06 07:47:59 +03:00
2025-07-06 15:42:41 +03:00
- bot mime makes a clue -> no update in the room for players; +
2025-07-07 07:53:12 +03:00
- red moves after bot gave (metal - 3) ended after two guesses (showed in logs, that opened 3. double click on the same card? or somewhere counter is not dropped?); the first guess moved counter to 2, in logs only two requests as expected; +
2025-07-06 15:42:41 +03:00
- bot mime gve a blue -> timer did not start; timer should be in third package, maybe in crons; +
2025-07-08 10:17:32 +03:00
- marks did not clear after end of the turn (feature?) +
2025-07-06 08:39:58 +03:00
- start new game satrted timer for a mime; (feature? in other cases mime has no timer);
- timer ended and went to 300;
2025-07-08 10:17:32 +03:00
- mime sees the clue input out of turn; (eh)
- there is a problem of two timers, they both could switch turn, but it is not easy to stop them from llmapi or handlers. +
- journal still does not work; +
2025-07-12 21:02:10 +03:00
- lose/win game; then exit room (while being the creator), then press to stats -> cannot find session in db, although cookie in place and session in db; +
- exit endpoints delets player from db; +
2025-07-16 11:06:13 +03:00
- timer end did not update the page;
2025-07-27 09:28:01 +03:00
- timer did not change turn (guesser did not manage to guess 1 word);
2025-07-16 11:51:27 +03:00
- timers conflict; stop timers;
- clue snatching;
- llm resp token amount limit;
2025-09-10 09:38:07 +03:00
=============
- autoscroll backlog to the last action; (reversed order) +
- mimes to see marks on the words; +
- clearer ways to see opened words; (line through) +
- guesser sees end turn button before clue was given by mime; +
2025-09-10 09:38:07 +03:00
- sql no rows when joining by link?