divy-07 / chess-engine

Implementing a basic Java chess engine
Apache License 2.0
1 stars 0 forks source link

Improvement to static position evaluation #9

Open divy-07 opened 1 year ago

divy-07 commented 1 year ago

Currently we only consider the amount of pieces on the board to rate a position. I'd like to consider the following and more factors:

This would go in Evaluation.java

arnavpd commented 1 year ago

A couple more to note: King safety: potential pins? nearby defending pieces, attacking power towards king, pawn structure relative to king

divy-07 commented 1 year ago

Just a note in light of #26

We can also have caching for position evaluations. This would be isolated caching accessible only from the Evaluation class. (It would be static)

The caching we are implementing in #26 would, therefore, not include the static position evaluations.