ChessUSA.com TalkChess.com
Hosted by Your Move Chess & Games
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Programmer bug hunt challenge
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
Robert Hyatt



Joined: 27 Feb 2006
Posts: 17783
Location: Birmingham, AL

PostPost subject: Re: Programmer bug hunt challenge    Posted: Tue May 08, 2007 5:42 pm Reply to topic Reply with quote

hgm wrote:
bob wrote:
Why should they have different FEN strings?

Because it is easier and hurts no one. There exists no ambiguity: it is always fully clear from a FEN if ep capture is possible or not.

Writing the 50-move counter and the castling status is trivial, as they are supplied in the definition of the position. The last move is also available, and if not, there is no way to determine e.p. status. All that is totally trivial compared to figuring out if you are in-check after an e.p. capture. For that you have to know the rules of Chess and in effect include a full move generator. That is at a totally different diffciculty level.


Who cares about the "difficulty level"? The position where one side has played e4 is identical with the position where he has not, if there is no EP possible. Yet now we have two different FEN representations of the _identical_ string. Which makes position comparisons more complicated than necessary. Chess doesn't have a "pseudo-legal move" concept. Neither should it have an ambiguous position description. Regardless of how complex it makes the code that produces the FEN string...

What business does a program that doesn't "know the rules of chess" have producing position descriptions? Does it not need to know about move legality, in check status and so forth?
Back to top
View user's profile Send private message
Display posts from previous:   
Subject Author Date/Time
Programmer bug hunt challenge ed Fri May 04, 2007 9:26 am
      Re: Programmer bug hunt challenge Reinhard Scharnagl Fri May 04, 2007 10:09 am
      Re: Programmer bug hunt challenge Rob Fri May 04, 2007 10:31 am
            Re: Programmer bug hunt challenge Tony Fri May 04, 2007 10:49 am
                  Re: Programmer bug hunt challenge Tony Fri May 04, 2007 10:55 am
                  Re: Programmer bug hunt challenge Rob Fri May 04, 2007 11:25 am
                        Re: Programmer bug hunt challenge Tony Fri May 04, 2007 12:02 pm
            Re: Programmer bug hunt challenge Reinhard Scharnagl Fri May 04, 2007 12:01 pm
            Re: Programmer bug hunt challenge ed Fri May 04, 2007 1:51 pm
                  Re: Programmer bug hunt challenge Uri Blass Fri May 04, 2007 4:46 pm
                        Re: Programmer bug hunt challenge H.G.Muller Fri May 04, 2007 4:54 pm
                              Re: Programmer bug hunt challenge Stan Arts Fri May 04, 2007 5:27 pm
                              Re: Programmer bug hunt challenge Steffan Westcott Fri May 04, 2007 7:24 pm
                                    Re: Programmer bug hunt challenge Robert Hyatt Fri May 04, 2007 8:22 pm
                                          Re: Programmer bug hunt challenge Steven Edwards Sat May 05, 2007 12:28 am
                                                Re: Programmer bug hunt challenge Dann Corbit Sat May 05, 2007 1:36 am
                                                      Re: Programmer bug hunt challenge mambofish Sat May 05, 2007 11:11 am
                                                            Re: Programmer bug hunt challenge Steven Edwards Sat May 05, 2007 11:13 am
                                                      Re: Programmer bug hunt challenge mambofish Sat May 05, 2007 11:15 am
                                                            Re: Programmer bug hunt challenge Robert Hyatt Mon May 07, 2007 10:58 pm
                                                      Re: Programmer bug hunt challenge Steffan Westcott Sat May 05, 2007 11:17 am
                                                            Re: Programmer bug hunt challenge Robert Hyatt Tue May 08, 2007 12:41 am
                                                                  Re: Programmer bug hunt challenge H.G.Muller Tue May 08, 2007 12:11 pm
                                                                        Re: Programmer bug hunt challenge Robert Hyatt Tue May 08, 2007 4:35 pm
                                                                              Re: Programmer bug hunt challenge H.G.Muller Tue May 08, 2007 4:50 pm
                                                                                    Re: Programmer bug hunt challenge Robert Hyatt Tue May 08, 2007 5:42 pm
                                                                                          Re: Programmer bug hunt challenge H.G.Muller Tue May 08, 2007 7:26 pm
                                                                                          Re: Programmer bug hunt challenge H.G.Muller Tue May 08, 2007 7:26 pm
                              Re: Programmer bug hunt challenge Robert Hyatt Fri May 04, 2007 8:20 pm
                        Re: Programmer bug hunt challenge Robert Hyatt Fri May 04, 2007 8:19 pm
                  Re: Programmer bug hunt challenge Peter Fendrich Fri May 04, 2007 5:34 pm
      Re: Programmer bug hunt challenge Steven Edwards Wed May 09, 2007 11:14 am
            Re: Programmer bug hunt challenge NKOTB Wed May 09, 2007 11:53 am
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group
Enhanced with Moby Threads