Add Bario draft. Small bugs to fix in Refusal and Bario
[vchess.git] / client / src / base_rules.js
index 0a68127..4c90f1d 100644 (file)
@@ -662,7 +662,7 @@ export const ChessRules = class ChessRules {
       case V.QUEEN: return this.getPotentialQueenMoves(sq);
       case V.KING: return this.getPotentialKingMoves(sq);
     }
-    return []; //never reached
+    return []; //never reached (but some variants may use it: Bario...)
   }
 
   // Build a regular move from its initial and destination squares.