From: Benjamin Auder Date: Fri, 15 Jan 2021 20:22:08 +0000 (+0100) Subject: Fix Football variant X-Git-Url: https://git.auder.net/variants/current/doc/css/img/pieces/cb.svg?a=commitdiff_plain;h=5c50b18ebe03fd485ab1e5301a37bec8b14a0ff8;p=vchess.git Fix Football variant --- diff --git a/client/src/variants/Football.js b/client/src/variants/Football.js index b1630eac..a6630584 100644 --- a/client/src/variants/Football.js +++ b/client/src/variants/Football.js @@ -1,5 +1,6 @@ import { ChessRules } from "@/base_rules"; -import { randInt } from "@/utils/alea"; +import { randInt, shuffle } from "@/utils/alea"; +import { ArrayFun } from "@/utils/array"; export class FootballRules extends ChessRules {