From 3dbee2d89f20ddccc3d01c1142035223fc604862 Mon Sep 17 00:00:00 2001 From: yukirij Date: Fri, 4 Oct 2024 20:36:13 -0700 Subject: [PATCH] Handle temporary resign play code. --- www/js/game.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/js/game.js b/www/js/game.js index fec30fa..ba3ffa0 100644 --- a/www/js/game.js +++ b/www/js/game.js @@ -409,6 +409,10 @@ GAME.Game = class { this.pools[this.turn & 1].pieces[play.from] -= 1; this.turn++; } break; + + case 0xF: { + this.state.code = GAME.Const.State.Resign; + } break; } // Recalculate new board state.