Experimental loss on repetition for Shogi and Pandemonium. Simplify Crazyhouse, with...
[vchess.git] / client / src / variants / Pandemonium.js
index 1291eda..4ae7303 100644 (file)
@@ -14,6 +14,11 @@ export class PandemoniumRules extends ChessRules {
     );
   }
 
+  loseOnRepetition() {
+    // If current side is under check: lost
+    return this.underCheck(this.turn);
+  }
+
   static get GILDING() {
     return "g";
   }