projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Early draft of Fanorona
[vchess.git]
/
client
/
src
/
variants
/
Yote.js
diff --git
a/client/src/variants/Yote.js
b/client/src/variants/Yote.js
index
0b96786
..
7158d4f
100644
(file)
--- a/
client/src/variants/Yote.js
+++ b/
client/src/variants/Yote.js
@@
-435,14
+435,6
@@
export class YoteRules extends ChessRules {
return moves[randInt(moves.length)];
}
return moves[randInt(moves.length)];
}
- evalPosition() {
- let evaluation = super.evalPosition();
- // Add reserves:
- evaluation += this.reserve["w"][V.PAWN];
- evaluation -= this.reserve["b"][V.PAWN];
- return evaluation;
- }
-
getNotation(move) {
if (move.vanish.length == 0)
// Placement:
getNotation(move) {
if (move.vanish.length == 0)
// Placement: