crippa1337 / Pytteliten

Chess engine under 4kB
MIT License
15 stars 7 forks source link

Adding some simple eval #42

Closed justNo4b closed 10 months ago

justNo4b commented 10 months ago

Add additional yet very simple eval. Pieces are awarded based on the proximity to center (aprx. +350 elo) Pawns are awarded based on rank (aprx. +90 elo).

All tests done locally from about 300 games SS, so feel free to re-test

I am not sure if i ever continue with this engine, but this might help

justNo4b commented 10 months ago

Note: I`m not sure that code is compatible with minifier but i'm willing to edit it in order to be compatible