Using Stockfish evaluation function as library #4054
Unanswered
Delphi-Coder
asked this question in
Q&A
Replies: 1 comment
-
Hello, Delphi-Coder! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I need trust-able evaluation function to use in engine development for debugging purpose. What I'm trying to do is passing 12 bitboards + castling righs + fifty move variable + ep pos + side to move into DLL function and use static scores in my own search algorithm. I'm not familiar with stockfish source but if i understand correctly I need to setup Position class and pass it to evaluate and then return the Integer score for it.
Now the question is:
1- How to pass 64 bit pieces bitboards (White Rooks,White Bishops,....,Black Rooks,...) to setup Position class? (not by using FEN)
2- returns value of evaluate is enum, its not simply an integer number as score, How to turn it to integer score?
3- I picked up Stockfish 2.3 source as I think it should be easier to read and compile under VS2010. Any idea about this would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions