Search found 224 matches

by outAtime
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: 12273

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.
by outAtime
Fri Jun 10, 2011 8:12 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Faile 1.4.4 Bug?
Replies: 1
Views: 610

Re: Faile 1.4.4 Bug?

P.S.

Hash to PV is in Iterative Deepening (think()) :

Code: Select all

if &#40;i_depth > 1 && abs&#40;cur_score&#41; < &#40;INF - 100&#41; && 
			    result != stalemate && result != draw_by_fifty && result != draw_by_rep&#41;
				hash_to_pv&#40;i_depth&#41;;
Thanks again.
by outAtime
Fri Jun 10, 2011 7:59 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Faile 1.4.4 Bug?
Replies: 1
Views: 610

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 &&...
by outAtime
Fri Jun 03, 2011 1:18 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Hash tables and PV
Replies: 5
Views: 1051

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&#58; */

	if &#40;depth < hash_p->depth&#41; &#123;
		return;
	&#125;
maybe this is the one I'd consider removing... Thanks again :)
by outAtime
Fri Jun 03, 2011 1:06 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Hash tables and PV
Replies: 5
Views: 1051

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 <...
by outAtime
Sun May 29, 2011 11:31 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pawn Shelter
Replies: 11
Views: 2281

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...
by outAtime
Sun May 29, 2011 11:15 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pawn Shelter
Replies: 11
Views: 2281

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...
by outAtime
Sat May 28, 2011 2:19 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pawn Shelter
Replies: 11
Views: 2281

Re: Pawn Shelter

Im not sure I understand the question... a score is returned by the engine when I tell it to analyze.
by outAtime
Sat May 28, 2011 12:29 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pawn Shelter
Replies: 11
Views: 2281

Re: Pawn Shelter

Stockfish (163) puts it at a whopping -3.00 while Rybka 3 puts it at around -1.50 so who knows :)
by outAtime
Sat May 28, 2011 12:24 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pawn Shelter
Replies: 11
Views: 2281

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.