projects
/
xogo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Copycat
[xogo.git]
/
base_rules.js
diff --git
a/base_rules.js
b/base_rules.js
index
9cedfd0
..
c0d9b60
100644
(file)
--- a/
base_rules.js
+++ b/
base_rules.js
@@
-1838,8
+1838,6
@@
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)