We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ceec1ea + ea3df94 commit a400a71Copy full SHA for a400a71
src/games/deckfish.ts
@@ -1057,7 +1057,7 @@ export class DeckfishGame extends GameBase {
1057
}
1058
1059
protected checkEOG(): DeckfishGame {
1060
- if (this.lastmove === "pass" && this.eliminated === this.currplayer) {
+ if (this.lastmove === "pass" && this.stack[this.stack.length - 1].lastmove === "pass") {
1061
this.gameover = true;
1062
const scores: number[] = [];
1063
for (let p = 1; p <= this.numplayers; p++) {
0 commit comments