projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Attempt to fix Eightpieces
[vchess.git]
/
client
/
src
/
variants
/
Racingkings.js
diff --git
a/client/src/variants/Racingkings.js
b/client/src/variants/Racingkings.js
index
1145748
..
745843b
100644
(file)
--- a/
client/src/variants/Racingkings.js
+++ b/
client/src/variants/Racingkings.js
@@
-1,6
+1,11
@@
import { ChessRules } from "@/base_rules";
export class RacingkingsRules extends ChessRules {
import { ChessRules } from "@/base_rules";
export class RacingkingsRules extends ChessRules {
+
+ static get Options() {
+ return null;
+ }
+
static get HasFlags() {
return false;
}
static get HasFlags() {
return false;
}
@@
-61,4
+66,5
@@
export 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];
}
+
};
};