projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Advance on Chakart
[vchess.git]
/
client
/
src
/
variants
/
Benedict.js
diff --git
a/client/src/variants/Benedict.js
b/client/src/variants/Benedict.js
index
fbc4b48
..
4ca5292
100644
(file)
--- a/
client/src/variants/Benedict.js
+++ b/
client/src/variants/Benedict.js
@@
-154,8
+154,7
@@
export class BenedictRules extends ChessRules {
const kp = this.kingPos[color];
if (this.getColor(kp[0], kp[1]) != color)
return color == "w" ? "0-1" : "1-0";
- if (this.atLeastOneMove())
- return "*";
+ if (this.atLeastOneMove()) return "*";
// Stalemate:
return "1/2";
}