Experimental loss on repetition for Shogi and Pandemonium. Simplify Crazyhouse, with...
[vchess.git] / client / src / base_rules.js
index df15026..5cf1d97 100644 (file)
@@ -139,6 +139,10 @@ export const ChessRules = class ChessRules {
   static get IgnoreRepetition() {
     return false;
   }
+  loseOnRepetition() {
+    // In some variants, result depends on the position:
+    return V.LoseOnRepetition;
+  }
 
   // At some stages, some games could wait clicks only:
   onlyClick() {