X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FTeleport1.js;h=d9222eacc5150b936236b7c8772b0171696f9fdd;hp=faa503aca4876ce6d87f7c2f2baa85b51f61b05a;hb=500dbd2c68ab7c284a25aa6d496a67315b7ab492;hpb=2173c72f801167a5b42fd68a29971676a212c1b2 diff --git a/client/src/variants/Teleport1.js b/client/src/variants/Teleport1.js index faa503ac..d9222eac 100644 --- a/client/src/variants/Teleport1.js +++ b/client/src/variants/Teleport1.js @@ -1,7 +1,7 @@ import { ChessRules, Move, PiPo } from "@/base_rules"; import { randInt } from "@/utils/alea"; -export class TeleportRules extends ChessRules { +export class Teleport1Rules extends ChessRules { hoverHighlight([x, y]) { // Testing move validity results in an infinite update loop.