X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FKnightmate1.js;fp=client%2Fsrc%2Fvariants%2FKnightmate.js;h=80e7005b2731ec0fc32359ecdcdb1b8e826576c8;hp=bc886c126216c154cca6e2b13595de160f0993c4;hb=3de62e0a608bd2be22c875930bb538b674968a6b;hpb=aeba929c6d4e2388f9b16593d6b11b0d7fa5a16e diff --git a/client/src/variants/Knightmate.js b/client/src/variants/Knightmate1.js similarity index 92% rename from client/src/variants/Knightmate.js rename to client/src/variants/Knightmate1.js index bc886c12..80e7005b 100644 --- a/client/src/variants/Knightmate.js +++ b/client/src/variants/Knightmate1.js @@ -1,8 +1,6 @@ import { ChessRules } from "@/base_rules"; -import { ArrayFun } from "@/utils/array"; -import { randInt } from "@/utils/alea"; -export class KnightmateRules extends ChessRules { +export class Knightmate1Rules extends ChessRules { static get COMMONER() { return "c";