Copycat almost ok - some checks undetected
[xogo.git] / base_rules.js
index c0d9b60..9cedfd0 100644 (file)
@@ -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)