Search found 2210 matches

by Michel
Thu Jan 01, 2009 8:09 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speed of chess programs on the iPhone/iPod Touch
Replies: 30
Views: 5469

Re: Speed of chess programs on the iPhone/iPod Touch

I assume you did profile? -fprofile-use seems to missing from you command line.
by Michel
Wed Dec 31, 2008 2:48 pm
Forum: Computer Chess Club: Tournaments and Matches
Topic: The great 40/120 Tournament
Replies: 13
Views: 2571

Re: The great 40/120 Tournament

Yes, it has come a long way from it's stable Fruit roots. It appears to be connected to the threading code, as reducing the number of threads increases the time between failure. I will try less aggressive optimizations to see where I get. Have you run many longer time control games with many thread...
by Michel
Sun Dec 28, 2008 2:31 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Question: Polyglot books and Chess960
Replies: 14
Views: 2566

Re: Question: Polyglot books and Chess960

Actually I see that you are now proposing a convention more akin to Shredder fen. This has as an advantage that the offset of a rook in the table of random numbers would not change if an outer rook became an inner rook. But it would not be compatible with the way PG currently encodes Chess960 positi...
by Michel
Sun Dec 28, 2008 1:31 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Question: Polyglot books and Chess960
Replies: 14
Views: 2566

Re: Question: Polyglot books and Chess960

I included the Chess960 specification in

http://alpha.uhasselt.be/Research/Algeb ... ormat.html

Please have a look if there are any remaining ambiguities.

Michel
by Michel
Sun Dec 28, 2008 9:12 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Detecting 'stop search' key.
Replies: 11
Views: 2910

Re: Detecting 'stop search' key.

You clearly said that you find a GPLed program worse than a copyrighted program. Since virtually every program is copyrighted this means that you find a GPLed program worse than any other kind of program included closed source ones.

So I think I interpreted you correctly.
by Michel
Sun Dec 28, 2008 4:54 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Question: Polyglot books and Chess960
Replies: 14
Views: 2566

Re: Question: Polyglot books and Chess960

You have a word of 4 letters chosen from a-h (or empty). So 4x8=32. This is like the current situation where you represent a word of 4 bits by 4x1 keys. But i already said I agree to 16. But you said you would want to reduce it further since every file indicator can take only 5 values (apart from kq...
by Michel
Sat Dec 27, 2008 10:07 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Question: Polyglot books and Chess960
Replies: 14
Views: 2566

Re: Question: Polyglot books and Chess960

I would not try to look for clever schemes to minimize the number of extra random numbers required. This is not worth the effort. The most important thing is that the hash key should be as simple as possible to compute. The main feature of PG books is and should be that they are trivial to implement...
by Michel
Sat Dec 27, 2008 5:27 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Question: Polyglot books and Chess960
Replies: 14
Views: 2566

Re: Question: Polyglot books and Chess960

So we will need 16 new hash keys. As long as they are not agreed upon, a perfectly workable temporary solution is to require that positions where a castling right does not belong to the outer-most Rook is forbidden to occur in the book. Is it 16 or 32? I would think 32. Eight for each of the possib...
by Michel
Sat Dec 27, 2008 3:33 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Question: Polyglot books and Chess960
Replies: 14
Views: 2566

Re: Question: Polyglot books and Chess960

Two positions have the same hash key It that case castling is possible in both or in neither (the GUI knows which). The rooks that can castle maybe different, so a test for move_is_legal is necessary. The problem is further aggrevated in that both castlings cn currently be impossible, but the recom...
by Michel
Sat Dec 27, 2008 3:02 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Question: Polyglot books and Chess960
Replies: 14
Views: 2566

Re: Question: Polyglot books and Chess960

If I understand correctly the PG hash key does not keep track of which rook is allowed to castle if there is more than one on the same side of the king. HOWEVER: a castling move is represented as FROMTO with FROM being equal to the kings square and TO being equal to the rook square. Hence by checkin...