Some fixes, and add 2 variants: Checkless and Parachute
[vchess.git] / client / src / variants / Crazyhouse.js
index 2307eaf..576f7d2 100644 (file)
@@ -31,13 +31,6 @@ export class CrazyhouseRules extends ChessRules {
     );
   }
 
-  getEpSquare(moveOrSquare) {
-    if (typeof moveOrSquare !== "object" || moveOrSquare.vanish.length > 0)
-      return super.getEpSquare(moveOrSquare);
-    // Landing move: no en-passant
-    return undefined;
-  }
-
   static GenRandInitFen(randomness) {
     return ChessRules.GenRandInitFen(randomness) + " 0000000000 -";
   }