projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Knightmate2: two kings, as in Spartan Chess
[vchess.git]
/
client
/
src
/
variants
/
Knightmate1.js
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
bc886c1
..
80e7005
100644
(file)
--- a/
client/src/variants/Knightmate.js
+++ b/
client/src/variants/Knightmate1.js
@@
-1,8
+1,6
@@
import { ChessRules } from "@/base_rules";
import { ChessRules } from "@/base_rules";
-import { ArrayFun } from "@/utils/array";
-import { randInt } from "@/utils/alea";
-export class KnightmateRules extends ChessRules {
+export class Knightmate
1
Rules extends ChessRules {
static get COMMONER() {
return "c";
static get COMMONER() {
return "c";