Some thoughts on Chakart + fix Hiddenqueen moves notation + better moveslist display
[vchess.git] / client / src / variants / Hamilton.js
index 8c3a1bd..08994e3 100644 (file)
@@ -14,6 +14,10 @@ export class HamiltonRules extends ChessRules {
     return "xx";
   }
 
+  hoverHighlight(x, y) {
+    return this.movesCount == 0;
+  }
+
   static board2fen(b) {
     if (b[0] == 'x') return 'x';
     return ChessRules.board2fen(b);