Hamilton: no postPlay/Undo
authorBenjamin Auder <benjamin.auder@somewhere>
Wed, 17 Feb 2021 14:29:34 +0000 (15:29 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Wed, 17 Feb 2021 14:29:34 +0000 (15:29 +0100)
client/src/variants/Hamilton.js

index 47af232..f8669b7 100644 (file)
@@ -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 [];
   }