Handle temporary resign play code.

This commit is contained in:
yukirij 2024-10-04 20:36:13 -07:00
parent 239276508e
commit 3dbee2d89f

View File

@ -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.