Skip to content

Commit 659ed78

Browse files
committed
games: Send blank help if drawing blank in initial rack
1 parent f4b6968 commit 659ed78

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/ps/games/scrabble/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export class Scrabble extends BaseGame<State> {
6767
Object.keys(this.players).forEach(player => {
6868
this.state.score[player] = 0;
6969
this.state.racks[player] = this.state.bag.splice(0, RACK_SIZE);
70+
if (this.state.racks[player].includes('_')) this.room.privateSend(player, this.$T('GAME.SCRABBLE.HOW_TO_BLANK'));
7071
});
7172
return { success: true, data: null };
7273
}

0 commit comments

Comments
 (0)