X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FSuicide.js;h=24e8ef29608d44c4c4c728697128219367dd8149;hp=f030b080317fd8655ff6230352a1c47cf5063382;hb=3a2a7b5fd3c6bfd0752838094c27e1fb6172d109;hpb=afbf3ca7151ef15a9e579b0f913683ab212396c4 diff --git a/client/src/variants/Suicide.js b/client/src/variants/Suicide.js index f030b080..24e8ef29 100644 --- a/client/src/variants/Suicide.js +++ b/client/src/variants/Suicide.js @@ -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 "*";