Skip to content

Commit 88c2e99

Browse files
committed
small changes to connect4 display
1 parent 3ca260b commit 88c2e99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/games/connectFour.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -318,13 +318,13 @@ export class ConnectFourGame {
318318
return (
319319
'**' +
320320
getStateAsString(this.state) +
321-
`\n${this.state.player1Username} has won with a ${this.parseWin(this.state)} connect 4!**`
321+
`\n<@${this.state.player1Id}> has won with a ${this.parseWin(this.state)} connect 4!**`
322322
);
323323
case ConnectFourGameStatus.Player2Win:
324324
return (
325325
'**' +
326326
getStateAsString(this.state) +
327-
`\n${this.state.player2Username} has won with a ${this.parseWin(this.state)} connect 4**`
327+
`\n${this.state.player2Username} has won with a ${this.parseWin(this.state)} connect 4!**`
328328
);
329329
case ConnectFourGameStatus.Draw:
330330
return `The match ended in a draw!`;

0 commit comments

Comments
 (0)