Step toward a one-page application
[vchess.git] / public / javascripts / variants / Extinction.js
index bc06162..aab359f 100644 (file)
@@ -64,12 +64,12 @@ class ExtinctionRules extends ChessRules
                return true; //always at least one possible move
        }
 
-       underCheck(move)
+       underCheck(color)
        {
                return false; //there is no check
        }
 
-       getCheckSquares(move)
+       getCheckSquares(color)
        {
                return [];
        }
@@ -135,5 +135,3 @@ class ExtinctionRules extends ChessRules
                return super.evalPosition();
        }
 }
-
-const VariantRules = ExtinctionRules;