Search found 224 matches

by outAtime
Sat May 28, 2011 12:15 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pawn Shelter
Replies: 11
Views: 3334

Re: Pawn Shelter

well first of all the ksafety is set rather high to obtain a + score for white, secondly Im considering changing to a 100 400 600 1200 piece value since the old 100 (or 80, 90) 325 500 975 just doesn't seem to cut it unless I add some bad trade code... perhaps another question for a different thread...
by outAtime
Fri May 27, 2011 10:57 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pawn Shelter
Replies: 11
Views: 3334

Pawn Shelter

http://i55.tinypic.com/2mdh3lj.png Black has advantage in this position however I'm getting the wrong score in this position because (I'm guessing) there is too much of a penalty for the lack of pawn shelter in black's kingside. Should there be 3 cases for calculating pawn shelter? e.g. castled sam...
by outAtime
Fri May 06, 2011 12:35 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Search and Mobility
Replies: 25
Views: 5139

Re: Search and Mobility

Thanks again for good advice, obviously I've been working on this for a while (quite) and would like to have it bug-free soon! I was wondering if maybe this is wrong anyways: int slider_mobility(int sq, int color, int offsets[]) { // parameter "color": 0 for white, for black int q, *c = off...
by outAtime
Fri May 06, 2011 2:23 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Search and Mobility
Replies: 25
Views: 5139

Re: Search and Mobility

Thanks for the help. I've been trying to find more information about for loops and if statements etc.... from what I'm reading so far I can do only one "if" within the for loop so what can I do if I wanted to add another "for" in there? e.g. int slider_mobility(int sq, int color, int offsets[]) ...
by outAtime
Thu May 05, 2011 12:35 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Search and Mobility
Replies: 25
Views: 5139

Re: Search and Mobility

Sorry, I was wondering why piece_mobility_white() seems to return ok scores for sliders but not for the knight. I wasnt referring to different types of non-linear mobility stuff, just that the return is incorrect. :)
by outAtime
Thu May 05, 2011 11:49 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Search and Mobility
Replies: 25
Views: 5139

Re: Search and Mobility

returns a compile warning 'q' might be used uninitialized in this function. Try this: int piece_mobility_white(int sq, int offsets[]) { int q, *c = offsets, t = 0; do { for (q = sq + *c; board[q] == npiece; q += *c) t++; } while (*++c); if (board[q] && ((board...
by outAtime
Thu May 05, 2011 8:32 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: testing eval
Replies: 22
Views: 3611

Re: testing eval

Here is my problem: case (bbishop): score -= 325; score -= end_bishop[i]; score -= end_black_bishop_fmobility(i) * bmef; score -= end_black_bishop_bmobility(i) * bmeb; printf ("bishop fmobility: %d\n", end_black_bishop_fmobility(i)); /* bishop pair bonus: */ bb++; if ...
by outAtime
Sat Apr 23, 2011 6:57 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: testing eval
Replies: 22
Views: 3611

testing eval

How should I go about testing the output from a mobility score in eval is correct? How would I be able to see just this score while the engine is running?
Thanks!
by outAtime
Fri Mar 18, 2011 10:30 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: pawn definitions in Gull
Replies: 2
Views: 838

pawn definitions in Gull

Could someone please explain what are these pawn types in Gull? 1. PawnUp 2. PawnUR 3. PawnWeak I have tried again and again to read the code but I just cant understand what these pawns are. How would they be defined? I know there are also doubled pawns and isolated pawns, those are simple enough, a...
by outAtime
Fri Mar 18, 2011 11:05 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: maximum engine elo
Replies: 4
Views: 1258

Re: maximum engine elo

Yes, testing using long matches usually 1 0 for matches of 100 games or more, sometimes 3 0 in shorter matches so i can follow the games and look at the moves and the searches etc.. Yes, i think you are right and something somewhere just isn't right... I think it may be in the search. Thanks.