From: Benjamin Auder Date: Fri, 11 Jan 2019 16:24:51 +0000 (+0100) Subject: Update some TODOs X-Git-Url: https://git.auder.net/doc/html/app_dev.php/scripts/pieces/cr.svg?a=commitdiff_plain;h=2305d34a3f2ab561c20b1fcb7349320145ac1f5c;p=vchess.git Update some TODOs --- diff --git a/public/javascripts/components/game.js b/public/javascripts/components/game.js index bbef6f85..39c12c0e 100644 --- a/public/javascripts/components/game.js +++ b/public/javascripts/components/game.js @@ -1,4 +1,5 @@ // TODO: envoyer juste "light move", sans FEN ni notation ...etc +// TODO: also "observers" prop, we should send moves to them too (in a web worker ? webRTC ?) // Game logic on a variant page: 3 modes, analyze, computer or human Vue.component('my-game', { diff --git a/public/javascripts/components/room.js b/public/javascripts/components/room.js index 20f01506..38eb9f9b 100644 --- a/public/javascripts/components/room.js +++ b/public/javascripts/components/room.js @@ -8,6 +8,8 @@ div(role="dialog" aria-labelledby="newGameTxt") p= translations["Waiting for opponent..."] */ +// TODO: si on est en train de jouer une partie, le notifier aux nouveaux connectés + /* Players + challenges : == "room" home of variant (surligner si nouveau défi perso et pas affichage courant) joueurs en ligne (dte),