Search found 3302 matches

by Sven
Sun Jun 01, 2008 9:45 am
Forum: Computer Chess Club: General Topics
Topic: interesting endgame position
Replies: 12
Views: 2890

Re: interesting endgame position

Ovyron wrote:Second position:
[...]
21.01 0:23 -2.09 1.b5 Rb1 2.Ke3 f6 3.gxf6+ Kxf6 4.Kf4 Rb4 5.Ke3 Ke5 6.Kd3 g5 7.Kc3 Rxe4 (1.449.758) 62
I would be interested to see Rybka's analysis after 1.b5 Rb1 2.e5 which might be an important improvement for white here IMO.

Sven
by Sven
Tue May 27, 2008 1:24 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Special code for black and white
Replies: 30
Views: 8735

Re: Special code for black and white

I have code similar to this: enum { White=0, Black=1 }; //... int someValue[2][BOARD_SIZE]; //... inline int someEvalFunction(int color, int sq) { //... return someValue[color][sq]; } This way I avoid both "if (color == White)" code and duplication of large code pieces. T...