draw function
Implementation
void draw() {
GameSocket s = GameSocket();
var jsonData = {"color": s.iAmWhite ? "LIGHT" : "DARK"};
s.socket.emit('vote_draw', jsonData);
}
void draw() {
GameSocket s = GameSocket();
var jsonData = {"color": s.iAmWhite ? "LIGHT" : "DARK"};
s.socket.emit('vote_draw', jsonData);
}