Almost finished problems logic. TODO: showProblem() part
[vchess.git] / public / javascripts / variants / Antiking.js
index e741168..2821f3f 100644 (file)
@@ -6,7 +6,11 @@ class AntikingRules extends ChessRules
        }
 
        static get ANTIKING() { return 'a'; }
-       
+
+       static get PIECES() {
+               return ChessRules.PIECES.concat([V.ANTIKING]);
+       }
+
        initVariables(fen)
        {
                super.initVariables(fen);