diff --git a/src/pong/src/routes/tournamentData.ts b/src/pong/src/routes/tournamentData.ts index 602723f..d773196 100644 --- a/src/pong/src/routes/tournamentData.ts +++ b/src/pong/src/routes/tournamentData.ts @@ -91,7 +91,6 @@ const route: FastifyPluginAsync = async (fastify): Promise => { outcome: v.outcome, })), }; - console.log(JSON.stringify(typed_res)); return res.makeResponse(200, 'success', 'tournamentData.success', { data: typed_res, }); diff --git a/src/pong/src/tour.ts b/src/pong/src/tour.ts index db3c699..4082c16 100644 --- a/src/pong/src/tour.ts +++ b/src/pong/src/tour.ts @@ -75,7 +75,6 @@ export class Tournament { else { this.state = 'ended'; } - console.log('next matchup ?:', this.matchup); if (this.currentGame === null) { this.state = 'ended'; } } diff --git a/src/tic-tac-toe/src/state.ts b/src/tic-tac-toe/src/state.ts index 4e58b93..1d3b05c 100644 --- a/src/tic-tac-toe/src/state.ts +++ b/src/tic-tac-toe/src/state.ts @@ -47,7 +47,6 @@ export class StateI { socket.on('disconnect', () => this.cleanupUser(socket)); socket.on('enqueue', () => this.enqueueUser(socket)); socket.on('dequeue', () => this.dequeueUser(socket)); - socket.on('debugInfo', () => this.debugSocket(socket)); socket.on('gameMove', (e) => this.gameMove(socket, e)); socket.on('keepalive', () => this.keepAlive(socket)); if (socket) { @@ -164,15 +163,6 @@ export class StateI { socket.emit('queueEvent', 'unregistered'); } - private debugSocket(socket: SSocket): void { - console.log(({ - message: `socket debug for ${socket.id}`, - userid: socket.authUser.id, - queue: this.queue, - users: this.users, - })); - } - private gameUpdate(gameId: TTTGameId, socket: SSocket): void { if (!this.users.has(socket.authUser.id)) return; const user = this.users.get(socket.authUser.id)!;