projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Draft Recycle variant
[vchess.git]
/
client
/
src
/
variants
/
Crazyhouse.js
diff --git
a/client/src/variants/Crazyhouse.js
b/client/src/variants/Crazyhouse.js
index
89b6f83
..
d7d82b8
100644
(file)
--- a/
client/src/variants/Crazyhouse.js
+++ b/
client/src/variants/Crazyhouse.js
@@
-208,8
+208,9
@@
export const VariantRules = class CrazyhouseRules extends ChessRules {
}
static get SEARCH_DEPTH() {
}
static get SEARCH_DEPTH() {
+ // High branching factor
return 2;
return 2;
- }
//high branching factor
+ }
evalPosition() {
let evaluation = super.evalPosition();
evalPosition() {
let evaluation = super.evalPosition();
@@
-229,9
+230,4
@@
export const VariantRules = class CrazyhouseRules extends ChessRules {
move.appear[0].p != V.PAWN ? move.appear[0].p.toUpperCase() : "";
return piece + "@" + V.CoordsToSquare(move.end);
}
move.appear[0].p != V.PAWN ? move.appear[0].p.toUpperCase() : "";
return piece + "@" + V.CoordsToSquare(move.end);
}
-
- getLongNotation(move) {
- if (move.vanish.length > 0) return super.getLongNotation(move);
- return "@" + V.CoordsToSquare(move.end);
- }
};
};