projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Attempt to fix Eightpieces
[vchess.git]
/
client
/
src
/
variants
/
Eightpieces.js
diff --git
a/client/src/variants/Eightpieces.js
b/client/src/variants/Eightpieces.js
index
dc7580b
..
92a4a90
100644
(file)
--- a/
client/src/variants/Eightpieces.js
+++ b/
client/src/variants/Eightpieces.js
@@
-204,8
+204,8
@@
export class EightpiecesRules extends ChessRules {
// => move sentry on other bishop for random color
const c = sample(['w', 'b'], 1);
pieceLine[c] = pieceLine[c]
- .replace('b', 't')
;
//tmp
- .replace('s', 'b')
;
+ .replace('b', 't') //tmp
+ .replace('s', 'b')
.replace('t', 's');
}
}