projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Games open in a new tab from main Hall (to not lose challenges)
[vchess.git]
/
client
/
src
/
variants
/
Shatranj.js
diff --git
a/client/src/variants/Shatranj.js
b/client/src/variants/Shatranj.js
index
105331f
..
7d76b83
100644
(file)
--- a/
client/src/variants/Shatranj.js
+++ b/
client/src/variants/Shatranj.js
@@
-20,6
+20,11
@@
export class ShatranjRules extends ChessRules {
);
}
+ getPpath(b) {
+ if (b[1] == 'b') return "Shatranj/" + b;
+ return b;
+ }
+
static get ElephantSteps() {
return [
[-2, -2],