projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move 'anonymousCount' which was computed to a method in Hall. Seems more accurate
[vchess.git]
/
client
/
src
/
variants
/
Suicide.js
diff --git
a/client/src/variants/Suicide.js
b/client/src/variants/Suicide.js
index
f030b08
..
24e8ef2
100644
(file)
--- 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 "*";