Search found 2900 matches

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: 6793

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: 6793

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: 7318

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: 3275

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: 32827

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: 42778

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: 1320

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).
by Evert
Sun Jan 23, 2011 12:51 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: New Spartan-Chess engine: Sjaak
Replies: 7
Views: 1320

Re: New Spartan-Chess engine: Sjaak

Very simple reason, actually, if you think about it. There didn't seem to be an active program of the same name when I did a quick search for what could be a good name. I briefly considered "Jacques" instead (with the same logic to the name) but decided I might as well go with something Dutch instea...
by Evert
Sun Jan 23, 2011 4:06 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: WinBoard, exotic version
Replies: 308
Views: 42778

Re: WinBoard, exotic version

So, on the topic of making WinBoard/XBoard play other interesting games. I made a small list of historic/national chess variants that I'd like Sjaak to be able to play. At the moment it plays Makruk (albeit without the nescessary modifications to the 50-move rule) and Shatranj (although the king bar...
by Evert
Sat Jan 22, 2011 4:13 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: New Spartan-Chess engine: Sjaak
Replies: 7
Views: 1320

Re: New Spartan-Chess engine: Sjaak

Nope, no relation. It is designed with the idea that it'll be able to play any chess-like game though. At the moment the piece and rule descriptions have to be hard coded, which I've done for standard Chess, Spartan, Knightmate, Maharaja and the Sepoys, Makruk and Shatranj (although it's missing a f...