projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Chakart: almost there
[vchess.git]
/
client
/
src
/
base_rules.js
diff --git
a/client/src/base_rules.js
b/client/src/base_rules.js
index
95a90cf
..
d2bd30a
100644
(file)
--- a/
client/src/base_rules.js
+++ b/
client/src/base_rules.js
@@
-80,6
+80,14
@@
export const ChessRules = class ChessRules {
return V.ShowMoves;
}
return V.ShowMoves;
}
+ // Sometimes moves must remain hidden until game ends
+ static get SomeHiddenMoves() {
+ return false;
+ }
+ get someHiddenMoves() {
+ return V.SomeHiddenMoves;
+ }
+
// Generally true, unless the variant includes random effects
static get CorrConfirm() {
return true;
// Generally true, unless the variant includes random effects
static get CorrConfirm() {
return true;