projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Football: prevent stuck bishops, forbid goal at move 1 (for 960)
[vchess.git]
/
client
/
src
/
variants
/
Dobutsu.js
diff --git
a/client/src/variants/Dobutsu.js
b/client/src/variants/Dobutsu.js
index
4d151c3
..
60d0017
100644
(file)
--- a/
client/src/variants/Dobutsu.js
+++ b/
client/src/variants/Dobutsu.js
@@
-199,7
+199,7
@@
export class DobutsuRules extends ChessRules {
}
}
- getPotentialHenMoves(
[x, y]
) {
+ getPotentialHenMoves(
sq
) {
const c = this.turn;
const forward = (c == 'w' ? -1 : 1);
const steps = V.steps[V.ROOK].concat([[forward, 1], [forward, -1]]);