projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some thoughts on Chakart + fix Hiddenqueen moves notation + better moveslist display
[vchess.git]
/
client
/
src
/
variants
/
Cannibal.js
diff --git
a/client/src/variants/Cannibal.js
b/client/src/variants/Cannibal.js
index
f7a9514
..
1a8a451
100644
(file)
--- a/
client/src/variants/Cannibal.js
+++ b/
client/src/variants/Cannibal.js
@@
-88,7
+88,7
@@
export class CannibalRules extends ChessRules {
return moves.filter(m => m.vanish.length == 2 && m.appear.length == 1);
}
return moves.filter(m => m.vanish.length == 2 && m.appear.length == 1);
}
-
// Stop at the first capture found (if any)
+ // Stop at the first capture found (if any)
atLeastOneCapture() {
const color = this.turn;
const oppCol = V.GetOppCol(color);
atLeastOneCapture() {
const color = this.turn;
const oppCol = V.GetOppCol(color);