diff --git a/src/screens/match/scoreboard.ts b/src/screens/match/scoreboard.ts index 9d60900..9f044e1 100644 --- a/src/screens/match/scoreboard.ts +++ b/src/screens/match/scoreboard.ts @@ -30,7 +30,7 @@ export class ScoreBoard { increment(player: 'p1' | 'p2') { this[player]++ - if (this[player] > this.pointsToWin) { + if (this[player] >= this.pointsToWin) { this.endGame() } }