chessfriend/position
Eryn Wells 7f25548335 [board, core, position] A simple static evaluation method for scoring positions
Implement a new Evaluator struct that evaluates a Board and returns a score. This
evaluation mechanism uses only a material balance function. It doesn't account
for anything else.

Supporting this, add a Counts struct to the internal piece set structure of a
Board. This struct is responsible for keeping counts of how many pieces of each
shape are on the board for each color. Export a count_piece() method on Board
that returns a count of the number of pieces of a particular color and shape.

Implement a newtype wrapper around i32 called Score that represents the score of
a position in centipawns, i.e. hundredths of a pawn. Add piece values to the
Shape enum.
2025-06-20 14:23:57 -07:00
..
src [board, core, position] A simple static evaluation method for scoring positions 2025-06-20 14:23:57 -07:00
tests [position] Remove some unused imports from peterellisjones tests 2025-06-07 20:09:15 -07:00
Cargo.lock Directly rename board -> position 2024-01-28 09:56:57 -08:00
Cargo.toml [position] Add thiserror dependency 2025-05-18 08:07:12 -07:00