Add Bario draft. Small bugs to fix in Refusal and Bario
[vchess.git] / client / src / variants / Wormhole.js
index 1f3ecd2..05d8f2a 100644 (file)
@@ -1,6 +1,7 @@
 import { ChessRules } from "@/base_rules";
 
 export class WormholeRules extends ChessRules {
+
   static get HasFlags() {
     return false;
   }
@@ -56,7 +57,8 @@ export class WormholeRules extends ChessRules {
       // A knight
       shift1 = movement[0];
       shift2 = movement[1];
-    } else {
+    }
+    else {
       shift1 = movement;
       shift2 = null;
     }
@@ -327,4 +329,5 @@ export class WormholeRules extends ChessRules {
       notation += "=" + move.appear[0].p.toUpperCase();
     return notation;
   }
+
 };