Hamilton: no postPlay/Undo
[vchess.git] / client / src / variants / Hamilton.js
index 88f6713..f8669b7 100644 (file)
@@ -19,7 +19,7 @@ export class HamiltonRules extends ChessRules {
     return "xx";
   }
 
-  hoverHighlight(x, y) {
+  hoverHighlight() {
     return this.movesCount == 0;
   }
 
@@ -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 [];
   }