X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FKnightrelay2.js;h=a8a796e856f9315982661d12ce6ae25d64ade0ae;hp=1827accb3f02ca0f135fcbb508d0f2c0a2e04f08;hb=7e8a7ea1cb66adb4a987badfb0a3c2f99a21bd0a;hpb=31c535953c843b28434a7fcdf7b4da0b376774ab diff --git a/client/src/variants/Knightrelay2.js b/client/src/variants/Knightrelay2.js index 1827accb..a8a796e8 100644 --- a/client/src/variants/Knightrelay2.js +++ b/client/src/variants/Knightrelay2.js @@ -1,6 +1,7 @@ import { ChessRules } from "@/base_rules"; export class Knightrelay2Rules extends ChessRules { + getPotentialMovesFrom([x, y]) { let moves = super.getPotentialMovesFrom([x, y]); @@ -120,4 +121,5 @@ export class Knightrelay2Rules extends ChessRules { return notation; } + };