- // Extract times (in [milli?]seconds), set clocks,
- // store in localStorage if live (on server otherwise)
-// const fen = chall.fen || V.GenRandInitFen();
-// const game = {}; //TODO: fen, players, time ...
-// //setStorage(game); //TODO
-// game.players.forEach(p => { //...even if game is by corr (could be played live, why not...)
-// this.conn.send(
-// JSON.stringify({code:"newgame", oppid:p.id, game:game}));
-// });
+ // Extract times (in [milli]seconds), set clocks, store in localStorage
+ const tc = extractTime(gameInfo.timeControl);
+ dddddddd
+ // TODO: [in game] send move + elapsed time (in milliseconds); in case of "lastate" message too
+ // //setStorage(game); //TODO