tmnt: {
leonardo: ['hiAlpha', 'loBeta', 'loGamma'],
donatello: ['loAlpha', 'hiAlpha', 'midGamma'],
- michaelangelo: ['delta', 'theta', 'loAlpha'],
+ michaelangelo: ['loAlpha', 'hiBeta', 'midGamma'],
raphael: ['loBeta', 'hiBeta', 'loGamma']
}
}
this._mindWave = null; // Our main device
this._socketServer = null; // Our socket server used to communicate with frontend
this._timer = null; // An internal timer for time based states
- this._winner = null // The current winner
+ this._winner = null; // The current winner
}
/**
for (const client of this._socketServer.clients) {
if (client.readyState === WebSocket.OPEN) {
- client.send(state);
+ client.send(JSON.stringify(state));
}
}
}