projects
/
xogo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix FenUtil
[xogo.git]
/
variants
/
_Antiking
/
class.js
diff --git
a/variants/_Antiking/class.js
b/variants/_Antiking/class.js
index
ac9aedc
..
771726c
100644
(file)
--- a/
variants/_Antiking/class.js
+++ b/
variants/_Antiking/class.js
@@
-38,7
+38,7
@@
export default class AbstractAntikingRules extends ChessRules {
}
// NOTE: canTake includes (wrong) captures of antiking,
}
// NOTE: canTake includes (wrong) captures of antiking,
- // to
not go to low-level using findDestSquares()
+ // to
detect attacks on antikings.
canTake([x1, y1], [x2, y2]) {
const piece1 = this.getPiece(x1, y1);
const color1 = this.getColor(x1, y1);
canTake([x1, y1], [x2, y2]) {
const piece1 = this.getPiece(x1, y1);
const color1 = this.getColor(x1, y1);