Search found 33 matches

by Necromancer
Mon Dec 05, 2016 6:03 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Modify hash probing code to pvs
Replies: 16
Views: 3739

Re: Modify hash probing code to pvs

Hum, it make more sense now. So the condition below is enough? if(!HashTable::probeHashEntry(board, &pvMove, &score, alpha, beta, depth)){ if (!is_pv){ // board.hashTable->cut++; return score; } } Or do I need that extra bit? //... if (!is_pv || (score > alpha...
by Necromancer
Mon Dec 05, 2016 2:41 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: draw endgame scaling
Replies: 9
Views: 2370

Re: draw endgame scaling

In my engine theres a 'bool Evaluation::isDrawMaterial()' function, which I borrowed from the Vice engine (which in turn, he borrowed from the Sjeng engine if I remeber well).

Is that what you're looking for?
by Necromancer
Mon Dec 05, 2016 12:51 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Modify hash probing code to pvs
Replies: 16
Views: 3739

Modify hash probing code to pvs

Hello all, My first engine Tunguska is playing at 2100 ELO I believe, but before releasing it here, I want to try PVS + aspiration (and some tweaks to the eval, which is very simple by now). To do this, I'm looking at the CPW code at https://github.com/nescitus/cpw-engine/blob/master/search.cpp. Sin...