Almost finished problems logic. TODO: showProblem() part
[vchess.git] / public / javascripts / variants / Wildebeest.js
index bb478cc..dcf2d58 100644 (file)
@@ -10,6 +10,10 @@ class WildebeestRules extends ChessRules
        static get CAMEL() { return 'c'; }
        static get WILDEBEEST() { return 'w'; }
 
+       static get PIECES() {
+               return ChessRules.PIECES.concat([V.CAMEL,V.WILDEBEEST]);
+       }
+
        static get steps() {
                return Object.assign(
                        ChessRules.steps, //add camel moves: