Skip to content

Commit bc2b271

Browse files
committed
delete logs
1 parent 558f511 commit bc2b271

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/game/game.gateway.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export class GameGateway implements OnGatewayConnection, OnGatewayDisconnect {
4444
* @param client - The connected socket client.
4545
*/
4646
handleConnection(@ConnectedSocket() client: Socket) {
47-
console.log(`Client connected: ${client.id}`);
4847
const gameStatus = this.gameService.addPlayer(client.id);
4948
if (gameStatus === 'waiting') {
5049
client.emit('message', { text: GameMessages.Waiting });
@@ -73,7 +72,6 @@ export class GameGateway implements OnGatewayConnection, OnGatewayDisconnect {
7372
handleMove(@ConnectedSocket() client: Socket, @MessageBody() data: MoveDto) {
7473
try {
7574
const result = this.gameService.makeMove(client.id, data.index);
76-
console.log(result);
7775
if (result) {
7876
result.playerIds.forEach((playerId) => {
7977
this.server.to(playerId).emit('gameUpdated', { result });

src/main.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@ async function bootstrap() {
1414
await app.listen(port, '0.0.0.0', () => {
1515
console.log(`Application is running on: http://0.0.0.0:${port}`);
1616
});
17-
console.log(`Application is running on: ${await app.getUrl()}`);
1817
}
1918
bootstrap();

0 commit comments

Comments
 (0)