(g.type == "corr" && g.players[0].uid == this.st.user.id) ||
(g.type == "live" && g.players[0].sid == this.st.user.sid)
? 'w'
: 'b';
const rem = g.movesCount % 2;
(g.type == "corr" && g.players[0].uid == this.st.user.id) ||
(g.type == "live" && g.players[0].sid == this.st.user.sid)
? 'w'
: 'b';
const rem = g.movesCount % 2;