Handle temporary resign play code.
This commit is contained in:
parent
239276508e
commit
3dbee2d89f
@ -409,6 +409,10 @@ GAME.Game = class {
|
|||||||
this.pools[this.turn & 1].pieces[play.from] -= 1;
|
this.pools[this.turn & 1].pieces[play.from] -= 1;
|
||||||
this.turn++;
|
this.turn++;
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
|
case 0xF: {
|
||||||
|
this.state.code = GAME.Const.State.Resign;
|
||||||
|
} break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Recalculate new board state.
|
// Recalculate new board state.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user