Skip to content

Commit

Permalink
feat: 게임 결과 인터페이스에 제시어도 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
mssak committed Dec 4, 2024
1 parent 5b3bf57 commit 8b04d24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/backend/gameserver/src/game/types/game.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,5 @@ export interface Istart_ending {
pinoco: string;
isGuessed: boolean;
guessingWord: string;
word: string;
}
2 changes: 2 additions & 0 deletions packages/backend/gameserver/src/gateway/gateway.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ export class GatewayService {
pinoco: newGameState.pinocoId,
isGuessed: false,
guessingWord: '',
word: newGameState.word,
};
}

Expand All @@ -215,6 +216,7 @@ export class GatewayService {
pinoco: gameState.pinocoId,
isGuessed: true,
guessingWord: gameState.guessingWord,
word: gameState.word,
};
}
}

0 comments on commit 8b04d24

Please sign in to comment.