projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update TODO
[vchess.git]
/
client
/
src
/
variants
/
Shatranj.js
diff --git
a/client/src/variants/Shatranj.js
b/client/src/variants/Shatranj.js
index
105331f
..
d8e4460
100644
(file)
--- a/
client/src/variants/Shatranj.js
+++ b/
client/src/variants/Shatranj.js
@@
-9,6
+9,10
@@
export class ShatranjRules extends ChessRules {
return false;
}
+ static get Monochrome() {
+ return true;
+ }
+
static get PawnSpecs() {
return Object.assign(
{},
@@
-20,6
+24,11
@@
export class ShatranjRules extends ChessRules {
);
}
+ getPpath(b) {
+ if (b[1] == 'b') return "Shatranj/" + b;
+ return b;
+ }
+
static get ElephantSteps() {
return [
[-2, -2],