X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=TODO;h=1c5f4a6b5fbf4176922f1157719c7d385d40ef65;hb=2ebba5c0c4124b4c899b32c586a6880f30bf77f3;hp=d4e48b00d51676b4a52a8e429eab9953c71c27ee;hpb=0cfb593616e766e5f5ed693f52452dc3f6efc8fd;p=vchess.git diff --git a/TODO b/TODO index d4e48b00..1c5f4a6b 100644 --- a/TODO +++ b/TODO @@ -1,7 +1,23 @@ -Styles must be improved (full width for smartphones, selectable text for PGN...) -Tooltip text should fade (even when mouse stay on it, especially for small screens) -Checkered stage 2: switch button at reserve position. -If a played disconnect right after opponent sent a move, it might be never received: secure this -Think about non-conventional variants with 2 kings for example: undercheck highlight? - --> underCheck should return a vector in this case. Adapt. - --> incheck should be an array of squares, in general. Think AntiKing +# Functionality: +On Game page "mconnect" events => + send lastate to them (because they have the game infos) or just "your turn" - if their turn + remember them to send next "newmove" (or just "it's your turn") later - if not their turn + (=> listen for "mdisconnect" as well) +From MyGames page: send "mconnect" to all online players (me included: potential multi-tabs) + When quit, send mdisconnect (relayed by server if no other MyGames tab). +And remove current "notify through newmove" on server in sockets.js + +Analyse mode when launched from a position: should keep orientation +--> $route query param, "side=w or b" + +# Misc: +Saw once a "double challenge" bug, one anonymous and a second one logged +Both were asked a challenge probably, and both challenges added as different ones. + +# New variants +8-pieces https://www.youtube.com/watch?v=XZ8K02Da7Ps&list=PLRyjH8DPuzTBiym6lA0r84P8N0HnTtZyN&index=6&t=0s +https://www.chessvariants.com/rules/8-piece-chess +Eightpieces : non-symmetric +Sym8pieces : symmetric (960) + ++ Maxima, Interweave, Roccoco, Dynamo, Synchrone, Cannibal (force captures)