- // TODO: adjust with readyState? (+ setTimeout()?) + send opponent (re)disconnect
- // https://github.com/websockets/ws/blob/master/lib/websocket.js line 313
- if (!!clients[page][obj.oppid])
- clients[page][obj.oppid].send(JSON.stringify({code:"newmove",move:obj.move}));