projects
/
xogo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Copycat almost ok - some checks undetected
[xogo.git]
/
base_rules.js
diff --git
a/base_rules.js
b/base_rules.js
index
c0d9b60
..
9cedfd0
100644
(file)
--- a/
base_rules.js
+++ b/
base_rules.js
@@
-1838,6
+1838,8
@@
export default class ChessRules {
}
}
+ // TODO here: should/could use getPotentialMovesFrom ?! (not sure)
+ // --> would be useful for variants like Copycat.
// Search for enemy (or not) pieces attacking [x, y]
findCapturesOn([x, y], o, allowed) {
if (!o.byCol)