X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=TODO;h=7bcb36fd917c0e4f35c220e5f64e86f57694ff19;hp=fb75f95d3207359b36b6a55996c3bf122da54c2d;hb=a97bdbda4ecf83645d409b717e36828784d1450d;hpb=e2d2b49c4b8f5228126991ac5cf41086a51a4285 diff --git a/TODO b/TODO index fb75f95d..7bcb36fd 100644 --- a/TODO +++ b/TODO @@ -1,9 +1,18 @@ -newmove received on mygames page should be added to storage if gtype == "live" -and, on game page "mconnect" events => send newmove to them (better than current setup) -also, mygames page should ask lastate infos to connected players if any (where it's not my turn) -(maybe in component GameList, if g.type == "live" ...) +# 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 +# Images: Color black wildebeest and camels pieces in white instead of transparent. +Color white grasshoppers as well. Adjust wormholes color and size. +Better "Check3" king images: just horizontal red bars maybe (1 to 3). +Center king image for Knightmate variant. +# 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.