X-Git-Url: https://git.auder.net/%3C?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=1a86d9b8bbb64e72c25919c6fb86fc339bf9f787;hb=f5f82ba68e1864065983e1acfd5ac2cb5cf4997c;hp=68c8c94d4362f4324b6eefd109a965c2add58195;hpb=f54f4c26b4c820b14aca298e94644efb20beeed6;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index 68c8c94d..1a86d9b8 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -445,6 +445,8 @@ export default { const data = JSON.parse(msg.data); switch (data.code) { case "pollclients": + // TODO: shuffling and random filtering on server, if + // the room is really crowded. data.sockIds.forEach(sid => { if (sid != this.st.user.sid) { this.people[sid] = { focus: true };