Fix SuctionChess, draft HiddenRules (unfinished)
[vchess.git] / client / src / variants / Alice.js
index e7daf7f..b16d728 100644 (file)
@@ -25,14 +25,14 @@ export const VariantRules = class AliceRules extends ChessRules {
     };
   }
 
-  static getPpath(b) {
-    return (Object.keys(this.ALICE_PIECES).includes(b[1]) ? "Alice/" : "") + b;
-  }
-
   static get PIECES() {
     return ChessRules.PIECES.concat(Object.keys(V.ALICE_PIECES));
   }
 
+  getPpath(b) {
+    return (Object.keys(this.ALICE_PIECES).includes(b[1]) ? "Alice/" : "") + b;
+  }
+
   setOtherVariables(fen) {
     super.setOtherVariables(fen);
     const rows = V.ParseFen(fen).position.split("/");