projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Experimental board size auto-adjust
[vchess.git]
/
client
/
src
/
base_rules.js
diff --git
a/client/src/base_rules.js
b/client/src/base_rules.js
index
7c1c823
..
5919bc3
100644
(file)
--- a/
client/src/base_rules.js
+++ b/
client/src/base_rules.js
@@
-47,8
+47,7
@@
export const ChessRules = class ChessRules {
{ label: "Asymmetric random", value: 2 }
]
}
{ label: "Asymmetric random", value: 2 }
]
}
- ],
- check: []
+ ]
};
}
};
}
@@
-135,16
+134,15
@@
export const ChessRules = class ChessRules {
return V.CanFlip;
}
return V.CanFlip;
}
+ // NOTE: these will disappear once each variant has its dedicated SVG board.
// For (generally old) variants without checkered board
static get Monochrome() {
return false;
}
// For (generally old) variants without checkered board
static get Monochrome() {
return false;
}
-
// Some games are drawn unusually (bottom right corner is black)
static get DarkBottomRight() {
return false;
}
// Some games are drawn unusually (bottom right corner is black)
static get DarkBottomRight() {
return false;
}
-
// Some variants require lines drawing
static get Lines() {
if (V.Monochrome) {
// Some variants require lines drawing
static get Lines() {
if (V.Monochrome) {