Almost finished problems logic. TODO: showProblem() part
[vchess.git] / public / javascripts / variants / Alice.js
index 5e10a05..ece59cd 100644 (file)
@@ -29,6 +29,10 @@ class AliceRules extends ChessRules
                return (Object.keys(this.ALICE_PIECES).includes(b[1]) ? "Alice/" : "") + b;
        }
 
+       static get PIECES() {
+               return ChessRules.PIECES.concat(Object.keys(V.ALICE_PIECES));
+       }
+
        initVariables(fen)
        {
                super.initVariables(fen);