From: Benjamin Auder Date: Wed, 17 Feb 2021 14:29:34 +0000 (+0100) Subject: Hamilton: no postPlay/Undo X-Git-Url: https://git.auder.net/doc/html/index.css?a=commitdiff_plain;h=27cb34b5ca47f6afb7b7d089b919b03fd12608a9;p=vchess.git Hamilton: no postPlay/Undo --- diff --git a/client/src/variants/Hamilton.js b/client/src/variants/Hamilton.js index 47af232a..f8669b7e 100644 --- a/client/src/variants/Hamilton.js +++ b/client/src/variants/Hamilton.js @@ -138,6 +138,9 @@ export class HamiltonRules extends ChessRules { for (let psq of move.appear) board[psq.x][psq.y] = psq.c + psq.p; } + postPlay() {} + postUndo() {} + getCheckSquares() { return []; }