Skip to content

Commit

Permalink
fix queen valuation on material diff (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscoBSalgueiro authored Oct 5, 2023
1 parent e41e7cc commit d3ad86d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/chess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ export function useMaterialDiff(fen: string) {
pieces.n * 3 +
pieces.b * 3 +
pieces.r * 5 +
pieces.q * 8;
pieces.q * 9;

return { pieces, diff };
});
Expand Down

0 comments on commit d3ad86d

Please sign in to comment.