projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Draft Coregal variant - still getCastleMoves() and updateCastleFlags() TODO
[vchess.git]
/
client
/
src
/
variants
/
Wormhole.js
diff --git
a/client/src/variants/Wormhole.js
b/client/src/variants/Wormhole.js
index
f47fea3
..
20c9d11
100644
(file)
--- a/
client/src/variants/Wormhole.js
+++ b/
client/src/variants/Wormhole.js
@@
-270,8
+270,7
@@
export class WormholeRules extends ChessRules {
}
getCurrentScore() {
- if (this.atLeastOneMove())
- return "*";
+ if (this.atLeastOneMove()) return "*";
// No valid move: I lose
return this.turn == "w" ? "0-1" : "1-0";
}