Search found 224 matches
- Fri Jun 10, 2011 5:04 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: max amount of moves from a position?
- Replies: 33
- Views: 17104
Re: max amount of moves from a position?
Yes, I read in another post here its 218 and had that number written down, but that is highly contrived so the maximum number of moves that might realistically occur must be less. Not sure how much less.
- Fri Jun 10, 2011 8:12 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Faile 1.4.4 Bug?
- Replies: 1
- Views: 930
Re: Faile 1.4.4 Bug?
P.S.
Hash to PV is in Iterative Deepening (think()) :
Thanks again.
Hash to PV is in Iterative Deepening (think()) :
Code: Select all
if (i_depth > 1 && abs(cur_score) < (INF - 100) &&
result != stalemate && result != draw_by_fifty && result != draw_by_rep)
hash_to_pv(i_depth);
- Fri Jun 10, 2011 7:59 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Faile 1.4.4 Bug?
- Replies: 1
- Views: 930
Faile 1.4.4 Bug?
I noticed when commenting out the *update pv* portions in Faile (in root_search, search and also q_search) and trying to get a pv output purely from hash there was either no output or only one move at each depth as a pv. 1.4.4 Search: /* check our current score vs. alpha: */ if (score > alpha &&...
- Fri Jun 03, 2011 1:18 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Hash tables and PV
- Replies: 5
- Views: 1537
Re: Hash tables and PV
Code: Select all
/* don't replace if the info in the hash table is more accurate than
what we have now: */
if (depth < hash_p->depth) {
return;
}

- Fri Jun 03, 2011 1:06 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Hash tables and PV
- Replies: 5
- Views: 1537
Hash tables and PV
Hi all, I have been looking into possibly changing the way I'm collecting PV. Currently its like this: // search.c move_ordering { PV 1st Hash, Caps, Killers, History, etc.. } Q_search { if (score > alpha) /* update the pv: */ pv[ply][ply] = moves[i]; for (j = ply + 1; j <...
- Sun May 29, 2011 11:31 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Pawn Shelter
- Replies: 11
- Views: 3350
Re: Pawn Shelter
By the way, it does appear to be a few cases for doing shelter or not. I have settled on: if (bq > 0 && br > 0 && (white_castled || moved[30])) { calculate shelter... } So for now I'm doing it if there is a queen+rook (also now in endgame where pieces <5 but still queen + rook), if...
- Sun May 29, 2011 11:15 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Pawn Shelter
- Replies: 11
- Views: 3350
Re: Pawn Shelter
Yes, thankyou for the reply. I will have a look at the material code you have suggested and see if I get any ideas. I'm convinced at this point that some imbalance code is definitely needed using the 325 values. I've been doing a ton of bugfixing and even with kingsafety improved I'm still getting b...
- Sat May 28, 2011 2:19 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Pawn Shelter
- Replies: 11
- Views: 3350
Re: Pawn Shelter
Im not sure I understand the question... a score is returned by the engine when I tell it to analyze.
- Sat May 28, 2011 12:29 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Pawn Shelter
- Replies: 11
- Views: 3350
Re: Pawn Shelter
Stockfish (163) puts it at a whopping -3.00 while Rybka 3 puts it at around -1.50 so who knows 

- Sat May 28, 2011 12:24 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Pawn Shelter
- Replies: 11
- Views: 3350
Re: Pawn Shelter
By the way: With pawn shelter disabled score is about -1.60. I think that score is still not low enough but maybe thats because of the piece values.