fixed minor issue

This commit is contained in:
Didictateur 2025-03-30 11:03:28 +02:00
parent 0b6a122d8d
commit 93449cba42

View file

@ -229,6 +229,10 @@ export class Game {
if (this.turn === 3) {
this.turn = 0;
this.pick(0);
if (this.hasWin(0)) {
this.end = true;
this.result = 1;
}
} else {
this.turn++;
}