Since you’re here...

... we have a small favour to ask. More people, like you, are reading and supporting our blog: "Chess Engines Diary". And unlike many other sites and blogs, we made the choice to keep our articles open for all, regardless of where they live or what they can afford to pay.

We hope you will consider supporting us today. We need your support to continue to exist, because good entries are more and more work time. Every reader contribution, however big or small, is so valuable. Support "Chess Engines Diary" even a small amount– and it only takes a minute. Thank you.

============================== My email: jotes@go2.pl



Stockfish 17120417 - new version!

Stockfish, chess engine UCI

Rating JCER = 3395
🔬 Author: Syzygy1  

Timestamp: 1512406351 

Use a Direction enum for Square deltas 

Currently the NORTH/WEST/SOUTH/EAST values are of type Square, but conceptually they are not squares but directions. This patch separates these values into a Direction enum and overloads addition and subtraction to allow adding a Square to a Direction (to get a new Square). 

I have also slightly trimmed the possible overloadings to improve type safety. For example, it would normally not make sense to add a Color to a Color or a Piece to a Piece, or to multiply or divide them by an integer. It would also normally not make sense to add a Square to a Square. 

This is a non-functional change.

⭐⭐⭐   Stockfish 17120417 - download

Comments

Popular posts from this blog

Killfish 071223 wins Strong Engines Tournament (Tests by Jörn Gronemann, Heide, 2024.02.26)

New version chess engine: Lc0 BT4

New chess engine: HypnoS 190324 (derived from Stockfish)

SF-PRO 23.02.2024 wins Strong Engines Tournament (Tests by Jörn Gronemann, Heide, 2024.03.01)

INCOGNITO 7 and Killfish 130324 wins Strong Engines Tournament (Tests by Jörn Gronemann, Heide, 2024.03.15)

SF-PRO 08.03.2024 wins New Engines Test, 09-10.03.2024

Chess engine: SF 16.1 MPV