Fix Xiangqi + a few cosmetics
[vchess.git] / client / src / base_rules.js
index 46c09a5..2c2b705 100644 (file)
@@ -126,6 +126,11 @@ export const ChessRules = class ChessRules {
     return null;
   }
 
+  // In some variants, the player who repeat a position loses
+  static get LoseOnRepetition() {
+    return false;
+  }
+
   // Some variants use click infos:
   doClick() {
     return null;