projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Janggi: fix computer initial setup move
[vchess.git]
/
client
/
src
/
variants
/
Knightmate.js
diff --git
a/client/src/variants/Knightmate.js
b/client/src/variants/Knightmate.js
index
a8d6dc6
..
bc886c1
100644
(file)
--- a/
client/src/variants/Knightmate.js
+++ b/
client/src/variants/Knightmate.js
@@
-2,7
+2,8
@@
import { ChessRules } from "@/base_rules";
import { ArrayFun } from "@/utils/array";
import { randInt } from "@/utils/alea";
import { ArrayFun } from "@/utils/array";
import { randInt } from "@/utils/alea";
-export const VariantRules = class KnightmateRules extends ChessRules {
+export class KnightmateRules extends ChessRules {
+
static get COMMONER() {
return "c";
}
static get COMMONER() {
return "c";
}
@@
-82,4
+83,5
@@
export const VariantRules = class KnightmateRules extends ChessRules {
k: 1000
};
}
k: 1000
};
}
+
};
};