Draft Ball variant + some fixes, enhancements and code cleaning
[vchess.git] / client / src / variants / Rugby.js
index 04306c2..209def8 100644 (file)
@@ -14,6 +14,8 @@ export class RugbyRules extends ChessRules {
     );
   }
 
+  scanKings() {}
+
   getPotentialMovesFrom(sq) {
     // There are only pawns:
     return this.getPotentialPawnMoves(sq);
@@ -44,6 +46,10 @@ export class RugbyRules extends ChessRules {
   preUndo() {}
   postUndo() {}
 
+  getCheckSquares() {
+    return [];
+  }
+
   getCurrentScore() {
     // Turn has changed:
     const color = V.GetOppCol(this.turn);