X-Git-Url: https://git.auder.net/js/img/rock_paper_scissors_lizard_spock.gif?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FAlapo.js;h=b3c466e619c7e10a820a6cc699dba54ae2b8839e;hb=f8c080e83e8b2c06580352c9292c2d6c3475da33;hp=6864457ebab8a471ee16f55032f2aa77712edfc5;hpb=0f7762c1d87e21d1c13ff0f38bd234b64b0a29d9;p=vchess.git diff --git a/client/src/variants/Alapo.js b/client/src/variants/Alapo.js index 6864457e..b3c466e6 100644 --- a/client/src/variants/Alapo.js +++ b/client/src/variants/Alapo.js @@ -1,4 +1,6 @@ import { ChessRules } from "@/base_rules"; +import { ArrayFun } from "@/utils/array"; +import { randInt } from "@/utils/alea"; export class AlapoRules extends ChessRules { @@ -221,4 +223,15 @@ export class AlapoRules extends ChessRules { return super.getCurrentScore(); } + static get VALUES() { + return { + r: 5, + b: 3, + q: 9, + t: 3, + c: 2, + s: 5 + }; + } + };