X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FYote.js;h=7158d4f4aa05fc3402ed027c14999699e1f51797;hb=08909cf4fc514e056d04f14086ddccc098f3ec75;hp=0b9678613623990eeef03d1e0f17b4f1e8b06c0b;hpb=c11afcdfa8678a27ea6c0822f6d3fef83967701b;p=vchess.git diff --git a/client/src/variants/Yote.js b/client/src/variants/Yote.js index 0b967861..7158d4f4 100644 --- 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)]; } - 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: