Skip to content

Commit f0f2a1d

Browse files
committed
yarn format
1 parent a8a9b91 commit f0f2a1d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/games/connectFour.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -377,9 +377,9 @@ ${this.state.player2Username}: ${getEmojiFromSign(this.state.player2Sign)}
377377

378378
const row2 = new ActionRowBuilder<ButtonBuilder>().addComponents(
379379
new ButtonBuilder()
380-
.setCustomId(`connect4-5-${this.id}`)
381-
.setLabel('5')
382-
.setStyle(ButtonStyle.Secondary),
380+
.setCustomId(`connect4-5-${this.id}`)
381+
.setLabel('5')
382+
.setStyle(ButtonStyle.Secondary),
383383
new ButtonBuilder()
384384
.setCustomId(`connect4-6-${this.id}`)
385385
.setLabel('6')
@@ -555,7 +555,7 @@ ${this.state.player2Username}: ${getEmojiFromSign(this.state.player2Sign)}
555555
this.setStatus(newState, i);
556556
// need to check if there is more than one possible guaranteed win
557557
// in that case, if there exists an immediate win, we want the bot to choose that column
558-
if (newState.status === ConnectFourGameStatus.Player2Win){
558+
if (newState.status === ConnectFourGameStatus.Player2Win) {
559559
return i;
560560
}
561561
column_scores[i] = this.miniMax(newState, 4, ConnectFourGameSign.Player1);

0 commit comments

Comments
 (0)