projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix mispelled Jangqi --> Janggi
[vchess.git]
/
client
/
src
/
variants
/
Shatranj.js
diff --git
a/client/src/variants/Shatranj.js
b/client/src/variants/Shatranj.js
index
7d76b83
..
0569f71
100644
(file)
--- a/
client/src/variants/Shatranj.js
+++ b/
client/src/variants/Shatranj.js
@@
-1,6
+1,7
@@
import { ChessRules } from "@/base_rules";
export class ShatranjRules extends ChessRules {
import { ChessRules } from "@/base_rules";
export class ShatranjRules extends ChessRules {
+
static get HasFlags() {
return false;
}
static get HasFlags() {
return false;
}
@@
-9,6
+10,14
@@
export class ShatranjRules extends ChessRules {
return false;
}
return false;
}
+ static get Monochrome() {
+ return true;
+ }
+
+ static get Notoodark() {
+ return true;
+ }
+
static get PawnSpecs() {
return Object.assign(
{},
static get PawnSpecs() {
return Object.assign(
{},
@@
-143,4
+152,5
@@
export class ShatranjRules extends ChessRules {
k: 1000
};
}
k: 1000
};
}
+
};
};