Search found 19372 matches

by hgm
Fri Jun 27, 2008 11:53 am
Forum: Computer Chess Club: General Topics
Topic: improved FRC version of WinBoard_F
Replies: 26
Views: 5447

Re: improved FRC version of WinBoard_F

It would be nice if you could also test if observing FRC games works correctly. I do not expect any problems there, but I could not really test it for lack of games to observe. But during the event there will be plenty of games going on to observe! (And I myself will be on my way to, or in Belgium f...
by hgm
Fri Jun 27, 2008 11:32 am
Forum: Computer Chess Club: General Topics
Topic: Nightrider chess
Replies: 40
Views: 8968

Re: Nightrider chess

(the fix actually defers the variant change until just before the 'new' command) Yes, it is a bit inconvenient that WB protocol prescribes the 'variant' command is send after the 'new', while defining 'new' as setting up the opening position. This causes logical problems, especially if the opening ...
by hgm
Fri Jun 27, 2008 10:43 am
Forum: Computer Chess Club: General Topics
Topic: improved FRC version of WinBoard_F
Replies: 26
Views: 5447

Re: improved FRC version of WinBoard_F

Tord already warned me that the FRC additions in WinBoard_x were broken, and that they made a dedicated version of WB for FRC, because to fix the problems seemed to interfere with playing normal Chess. I think everything is fixed in the current WinBoard_F alpha (4.3f.13); I was able to play many nor...
by hgm
Fri Jun 27, 2008 9:08 am
Forum: Computer Chess Club: General Topics
Topic: Nightrider chess
Replies: 40
Views: 8968

Re: Nightrider chess

Another thought: I remember that you implemented the exotic variants in Dabbaba to be triggered by setting the variant to fairy, and then having Dabbaba look in a configuration file what variant it should actually choose. Would it be possible to defer the choice of variant until Dabbaba receives a s...
by hgm
Fri Jun 27, 2008 8:18 am
Forum: Computer Chess Club: General Topics
Topic: Nightrider chess
Replies: 40
Views: 8968

Re: Nightrider chess

The idea of variant fairy is that all pieces are available, so that you can paste in a FEN of whatever opening position you want. In variant normal, any FEN you paste is restricted to have only the pieces PNBRQK. In fairy you also have FWEMOUHACGS. This seemed a good idea at the time, when the only ...
by hgm
Thu Jun 26, 2008 10:04 pm
Forum: Computer Chess Club: General Topics
Topic: Nightrider chess
Replies: 40
Views: 8968

Re: Nightrider chess

Besides Dabbaba I don't know of any WinBoard engine that could play it. Some of the general variant-playing programs can be configured to play it, but of those I know (ChessV, Zillions of Games, Fairy-Max) only the latter is WB compatible. If people are aware of other engines, please post here. As t...
by hgm
Thu Jun 26, 2008 9:31 pm
Forum: Computer Chess Club: General Topics
Topic: improved FRC version of WinBoard_F
Replies: 26
Views: 5447

Re: improved FRC version of WinBoard_F

ok i see i missed that frank said castle is transmitted as 0-0 and 0-0-0. I could never figure out how to get it to work in ics play. It was always sent as e1c1 etc. In home play me against the machine it did transmit as 0-0. There is a program argument to ask for 0-0 but it deafults to true so its...
by hgm
Thu Jun 26, 2008 4:26 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: C question: pointer arithmetic
Replies: 15
Views: 4674

Re: C question: pointer arithmetic

Just my 2 cents ... Yes, I agree. If I would have set it up from scratch I would have put the 8x8 board in a struct, and I would have put the e.p. status and castling rights as other fields in that same struct. But alas, we are talking about an existing source, which is huge by my standards (distri...
by hgm
Thu Jun 26, 2008 9:37 am
Forum: Computer Chess Club: General Topics
Topic: improved FRC version of WinBoard_F
Replies: 26
Views: 5447

Re: improved FRC version of WinBoard_F

As far as I could see, WB protocol does not define the FEN format to be used in variants other than normal, in particular not for FRC or 10x8 variants. There is a proposal for a version 3 protocol which does define it, but this proposal is still secret. Anyway, there are no known ways to represent a...
by hgm
Thu Jun 26, 2008 9:20 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: C question: pointer arithmetic
Replies: 15
Views: 4674

Re: C question: pointer arithmetic

Well, forget about the 16, that might have been my mistake. But I am not in a position anymore to make sure, and now that I understand what was wrong, the details of how wrong it was are not very important. I now convert everything to (int) before doing any arithmetic, p = ((int) board - (int) board...