Change castle flags. Eightpieces still not OK, but almost
[vchess.git] / client / src / variants / Suicide.js
index f030b08..24e8ef2 100644 (file)
@@ -114,8 +114,10 @@ export const VariantRules = class SuicideRules extends ChessRules {
   }
 
   // No variables update because no royal king + no castling
-  updateVariables() {}
-  unupdateVariables() {}
+  prePlay() {}
+  postPlay() {}
+  preUndo() {}
+  postUndo() {}
 
   getCurrentScore() {
     if (this.atLeastOneMove()) return "*";