projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Bario
[vchess.git]
/
client
/
src
/
variants
/
Racingkings.js
diff --git
a/client/src/variants/Racingkings.js
b/client/src/variants/Racingkings.js
index
f1161fc
..
e898a55
100644
(file)
--- a/
client/src/variants/Racingkings.js
+++ b/
client/src/variants/Racingkings.js
@@
-1,6
+1,7
@@
import { ChessRules } from "@/base_rules";
import { ChessRules } from "@/base_rules";
-export const VariantRules = class RacingkingsRules extends ChessRules {
+export class RacingkingsRules extends ChessRules {
+
static get HasFlags() {
return false;
}
static get HasFlags() {
return false;
}
@@
-61,4
+62,5
@@
export const VariantRules = class RacingkingsRules extends ChessRules {
// Ponder with king position:
return evaluation/5 + this.kingPos["b"][0] - this.kingPos["w"][0];
}
// Ponder with king position:
return evaluation/5 + this.kingPos["b"][0] - this.kingPos["w"][0];
}
+
};
};