From: Benjamin Auder Date: Mon, 18 Dec 2023 10:47:27 +0000 (+0100) Subject: update X-Git-Url: https://git.auder.net/doc/html/bundles/framework/css/%3C?a=commitdiff_plain;h=061c078d4724d24003897415939ab3a5c057a45d;p=xogo.git update --- diff --git a/variants/Coregal/class.js b/variants/Coregal/class.js index 4df32ad..d599a1f 100644 --- a/variants/Coregal/class.js +++ b/variants/Coregal/class.js @@ -1,8 +1,6 @@ -import { ChessRules, Move, PiPo } from "@/base_rules"; -import { ArrayFun } from "@/utils/array"; -import { randInt, sample } from "@/utils/alea"; +import ChessRules from "/base_rules.js"; -export class CoregalRules extends ChessRules { +export default class CoregalRules extends ChessRules { genRandInitBaseFen() { const s = FenUtil.setupPieces(