From 2305d34a3f2ab561c20b1fcb7349320145ac1f5c Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Fri, 11 Jan 2019 17:24:51 +0100 Subject: [PATCH] Update some TODOs --- public/javascripts/components/game.js | 1 + public/javascripts/components/room.js | 2 ++ 2 files changed, 3 insertions(+) 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), -- 2.44.0