fixed minor issue
This commit is contained in:
parent
0b6a122d8d
commit
93449cba42
1 changed files with 4 additions and 0 deletions
|
|
@ -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++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue