Search found 2903 matches

by Evert
Sun Jan 30, 2011 4:34 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Material imbalance/bad trade and borrowing code
Replies: 14
Views: 3686

Re: Material imbalance/bad trade and borrowing code

Roman Hartmann wrote:You might want to read the following postings/links dealing with material imbalances in full depth:

http://www.talkchess.com/forum/viewtopic.php?t=18240

http://www.ascotti.org/programming/chess/mat_stats.html

Roman
Cool, very interesting!
Thanks.
by Evert
Sun Jan 30, 2011 4:32 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Material imbalance/bad trade and borrowing code
Replies: 14
Views: 3686

Re: Material imbalance/bad trade and borrowing code

As I am mostly interested in variants, there is no way to make a material table based on empercal data from human games, so I usually rely on filling the table with formulas made up by educated guessing, and interpolation of extreme cases. E.g. to fit the fact that 3 Queens balance between 6 and 7 ...
by Evert
Sat Jan 29, 2011 12:29 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: WinBoard, exotic version
Replies: 308
Views: 45769

Re: WinBoard, exotic version

I am not sure I fully understand the problem (or the rules,in fact). For one, you would either have to enlarge the holdingsSize (to fit the King), or alter the pieceToCharTable (to squeeze out Hawk and Elephant). Aha! I thought that with legality testing off and me sending a string containing 8 pie...
by Evert
Fri Jan 28, 2011 6:53 pm
Forum: Computer Chess Club: General Topics
Topic: I was curious about the fuss over Fruit...
Replies: 34
Views: 7414

Re: I was curious about the fuss over Fruit...

The point is that gcc does not complain about %lld, if it matches a 64-bit parameter of printf, as this is standard ANSI. But when at run time you do pass it to the library function for printf, it does not understand it properly, and prints a 32-bit integer. As this is the low word of the int64, yo...
by Evert
Fri Jan 28, 2011 3:09 pm
Forum: Computer Chess Club: General Topics
Topic: I was curious about the fuss over Fruit...
Replies: 34
Views: 7414

Re: I was curious about the fuss over Fruit...

I'm slightly confused. I've never seen any source give anything other than %lld as the format specifier for a "long long" integer. When I fed my code to MinGW, it didn't actually complain about the occurrences of %lld in the code either.
Am I missing something?
by Evert
Fri Jan 28, 2011 12:02 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Programming language features for computer chess
Replies: 28
Views: 7903

Re: Programming language features for computer chess

GPUs are generally useful for doing the same set of relatively simple floating point calculations on a large data set in parallel. That doesn't really reflect how a chess program works. As mentioned, there have been several attempts to write a chess program in OpenCL as well as in CUDA. So far, none...
by Evert
Thu Jan 27, 2011 8:40 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Material imbalance/bad trade and borrowing code
Replies: 14
Views: 3686

Material imbalance/bad trade and borrowing code

Given the fascination a large number of people here seem to have with copying someone else's code, I thought I'd ask about the following. I've read various discussions on what base values should be used for the pieces and how one should deal with material imbalances. One approach is to make a huge t...
by Evert
Thu Jan 27, 2011 8:04 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Bored with orthodox Chess?
Replies: 185
Views: 34327

Re: Some questions to H.G.Muller about Winboard.

I'm not sure where this would best fit in the discussion, so I'll just throw it in here. When defining chess variants in Sjaak (or however it's going to be called on public release), I define the pieces and rules for a variant when I get a "variant xxx" command. That includes setting the relative pi...
by Evert
Mon Jan 24, 2011 4:33 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: WinBoard, exotic version
Replies: 308
Views: 45769

Re: WinBoard, exotic version

As it is not supported, it wouldobvosly have to be played as something else, in this case with legality testing off, because there is no supported variant with the required promotion rules. The most suitable variant to use for this would be Seirawan Chess, because that uses holdings in which captur...
by Evert
Sun Jan 23, 2011 1:27 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: New Spartan-Chess engine: Sjaak
Replies: 7
Views: 1624

Re: New Spartan-Chess engine: Sjaak

I'm somewhat reluctant to name it something very different, simply because the SVN repository is called "Sjaak" (not a decisive reason obviously) and it's a bit of a hassle. But I probably ought to at least tweak the name if and when I do a proper release of the program (with website and all).