diff options
| author | Adam <adammegarules1@gmail.com> | 2026-08-23 09:07:17 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-08-23 09:07:17 +0200 |
| commit | 101f58159685d72756bc08e26e64d56e607809b3 (patch) | |
| tree | 47bc54cea428648b94d00659eaec4c956b9fb4f5 | |
| parent | 4b0e7f4a0f08fe5bffbdd2fa900250963f9fd836 (diff) | |
refactor(evaluation): adjusting piece values
| -rw-r--r-- | src/evaluate.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 7db6734..887f539 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -1,6 +1,5 @@ #include "evaluate.hpp" #include "board/board.hpp" -#include "moves.hpp" #include <array> #include <cassert> #include <cstddef> @@ -8,11 +7,10 @@ #include <iostream> constexpr int PAWN_VALUE = 100; -constexpr int KNIGHT_VALUE = 320; -constexpr int BISHOP_VALUE = 400; +constexpr int KNIGHT_VALUE = 300; +constexpr int BISHOP_VALUE = 320; constexpr int ROOK_VALUE = 500; constexpr int QUEEN_VALUE = 900; -constexpr int MATE = 10000; static std::array<int, 64> PAWN_TABLE = { 0, 0, 0, 0, 0, 0, 0, 0, // last rank promotes to a quuen |
