Search found 24 matches

by sandermvdb
Sun Apr 02, 2017 9:07 pm
Forum: Programming and Technical Discussions
Topic: TT Mate scores
Replies: 18
Views: 19378

Re: TT Mate scores

Sorry for bringing up an old thread but I am still struggling a bit with mate scores. I understand that you need to fix a mate score when retrieving or adding it to the transposition table. But should you also do this if it is not an EXACT score? I guess not (but I could be wrong...).

The reason ...
by sandermvdb
Sun Apr 02, 2017 7:17 pm
Forum: Programming and Technical Discussions
Topic: TT Mate scores
Replies: 18
Views: 19378

Re: TT Mate scores

Sorry for bringing up an old thread but I am still struggling a bit with mate scores. I understand that you need to fix a mate score when retrieving or adding it to the transposition table. But should you also do this if it is not an EXACT score? I guess not (but I could be wrong...).
by sandermvdb
Wed Feb 22, 2017 9:57 pm
Forum: Programming and Technical Discussions
Topic: A couple of QSearch busters!
Replies: 2
Views: 8511

Re: A couple of QSearch busters!

Any bugs found? My engine takes 15 minutes for the first ply which is too long I guess...
by sandermvdb
Wed Jan 25, 2017 3:54 pm
Forum: Programming and Technical Discussions
Topic: capturing PV in QSearch
Replies: 10
Views: 15001

Re: capturing PV in QSearch



Yesterday I implemented Bruce's code and I am also writing the PV back to the hash. But what do you mean by this regarding Stockfish: 'but with values that will cause the entry to be ignored for cutoffs'?
And you are updating your "always" hash only if the score is better. But what do you mean by ...
by sandermvdb
Sun Jan 22, 2017 8:48 am
Forum: Programming and Technical Discussions
Topic: capturing PV in QSearch
Replies: 10
Views: 15001

Re: capturing PV in QSearch

Bruce's code saves the PV going down the search tree, saving the best line each time alpha is raised, but once back to the top, what to do with it?

at first I was just using it to pass on the best "line" to the GUI, but after examining some Stockfish code, I saw where they write the PV back to the ...
by sandermvdb
Sat Jan 21, 2017 2:14 pm
Forum: Programming and Technical Discussions
Topic: capturing PV in QSearch
Replies: 10
Views: 15001

Re: capturing PV in QSearch

Most engines of course do not get the PV out of the hash table, so that storing QS in the TT is really a separate issue. Retrieving it from the hash almost never leads to the node that provided the score, even if you did store QS nodes.


I DO get the PV from the hash-table and was wondering if I ...
by sandermvdb
Thu Jan 19, 2017 7:08 pm
Forum: Programming and Technical Discussions
Topic: chess22k v1.0
Replies: 5
Views: 6327

Re: chess22k v1.0

Kudos, seems like a very well written program.

Did you get your evaluation tables from other sources or from your own game knowledge?

Also, I've been wanting to cache moves generated at the corresponding hashing key (and why not in a persisent table) to gain a lot of time during the search, but ...
by sandermvdb
Sat Jan 14, 2017 4:13 pm
Forum: Programming and Technical Discussions
Topic: chess22k v1.0
Replies: 5
Views: 6327

Re: chess22k v1.0

Very nice. But remember that this is a hobby that you almost exclusively do for your own satisfaction. The demand for engines that play orthodox Chess is close to zero, (and there already are thousands on offer), unless they are within a couple of Elo from Stockfish. There is a (quite small ...
by sandermvdb
Fri Jan 13, 2017 10:26 am
Forum: Programming and Technical Discussions
Topic: chess22k v1.0
Replies: 5
Views: 6327

chess22k v1.0

I just released the first version of my engine on Github on which I have been working for about a year. See:
https://github.com/sandermvdb/chess22k

This has been my 2nd engine. About three years ago I started building an engine which the basic knowledge I had; I could program and I could play chess ...
by sandermvdb
Tue Jan 10, 2017 8:35 pm
Forum: Programming and Technical Discussions
Topic: Perft results?
Replies: 18
Views: 23239

Re: Perft results?

My engine which uses a bitboard and is also written in Java gives the following results on an Intel Q9550 (2,83 Ghz):

QPerft 5: 264ms
QPerft 6: 2948ms

Perft 5: 3069ms
Perft 6: 75648ms

QPerft is without making the last move, Perft is with.



CORRECTION:
Perft does NOT make the actual move ...