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 

What should I support, UCI or Winboard?
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: General Topics Flat
View previous topic :: View next topic  
Author Message
H.G.Muller



Joined: 10 Mar 2006
Posts: 12758
Location: Amsterdam

PostPost subject: Re: What should I support, UCI or Winboard?    Posted: Tue Apr 24, 2012 12:32 pm Reply to topic Reply with quote

jdart wrote:
The problem with Winboard pondering is that you have to monitor incoming commands both when pondering and when not, and some of them need different processing depending on what state you are in, and there are cases where just processing them one at a time in order is not correct.


Yes, but that is in the engine. So not very relevant for someone like the OP, who is only interested in building a GUI...

Quote:
For example, what if you get a user move that happens to be a ponder hit, but then the opponent immediately resigns (or quits)? You have to handle this regardless of when "result" arrives. If you ponder, move, then process "result," that is not correct, because "result" must always end the game.


I don't see the latter as an incorrect implementation of WB protocol. I also don't see this problem as specific to pondering: in a ponder-off game, it can also happen that you get a move that starts you thinking, and immediately after it the 'result' because of opponent resign. The question is if you expect instant response from commands send during search. This might have been the original intention of WB protocol, but I think it has long since bowed to the reality that almost every engine will 'move first, ask questions later'. So 'ping' was introduced to solve all problems that could result from this.

The problem really is that engines that want to resign send a move before they do. This is reproachable behavior, that perhaps should be more explicitly condemned in the protocol specs.

Quote:
UCI IMO has a simpler state model. You can look at Fruit's implementation, which is practically the reference one. It is not a lot of code.

Well, the model WB driver I gave the link to in the previous post does not strike me as terribly long or complex either.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Subject Author Date/Time
What should I support, UCI or Winboard? Asim Pereira Sun Apr 22, 2012 5:28 am
      Re: What should I support, UCI or Winboard? Ted Wong Sun Apr 22, 2012 6:26 am
            Re: What should I support, UCI or Winboard? Asim Pereira Sun Apr 22, 2012 7:39 am
                  Re: What should I support, UCI or Winboard? Ted Wong Sun Apr 22, 2012 9:14 am
                        Re: What should I support, UCI or Winboard? H.G.Muller Sun Apr 22, 2012 9:32 am
      Re: What should I support, UCI or Winboard? H.G.Muller Sun Apr 22, 2012 8:27 am
            Re: What should I support, UCI or Winboard? Aart Bik Tue Apr 24, 2012 9:54 pm
                  Re: What should I support, UCI or Winboard? Daniel Mehrmann Wed Apr 25, 2012 6:17 am
                        Re: What should I support, UCI or Winboard? H.G.Muller Wed Apr 25, 2012 8:55 am
                              Re: What should I support, UCI or Winboard? Daniel Mehrmann Wed Apr 25, 2012 5:57 pm
      Re: What should I support, UCI or Winboard? Matthias Gemuh Sun Apr 22, 2012 3:04 pm
            Re: What should I support, UCI or Winboard? H.G.Muller Sun Apr 22, 2012 6:48 pm
                  Re: What should I support, UCI or Winboard? Matthias Gemuh Sun Apr 22, 2012 8:14 pm
                        Re: What should I support, UCI or Winboard? H.G.Muller Sun Apr 22, 2012 9:10 pm
                              Re: What should I support, UCI or Winboard? Miguel A. Ballicora Sun Apr 22, 2012 9:19 pm
                                    Re: What should I support, UCI or Winboard? Evert Glebbeek Mon Apr 23, 2012 5:25 am
                                          Re: What should I support, UCI or Winboard? H.G.Muller Mon Apr 23, 2012 6:54 am
                                                Re: What should I support, UCI or Winboard? Evert Glebbeek Mon Apr 23, 2012 8:50 am
                              Re: What should I support, UCI or Winboard? Ronald de Man Sun Apr 22, 2012 11:23 pm
                                    Re: What should I support, UCI or Winboard? Carlos Pesce Sun Apr 22, 2012 11:34 pm
                                          Re: What should I support, UCI or Winboard? Christopher Conkie Mon Apr 23, 2012 12:11 am
                                                Re: What should I support, UCI or Winboard? Carlos Pesce Tue Apr 24, 2012 12:12 am
                                                      Re: What should I support, UCI or Winboard? Christopher Conkie Tue Apr 24, 2012 1:18 pm
                                                            Re: What should I support, UCI or Winboard? H.G.Muller Tue Apr 24, 2012 1:25 pm
                                                                  Re: What should I support, UCI or Winboard? Christopher Conkie Tue Apr 24, 2012 1:34 pm
                                                                        Re: What should I support, UCI or Winboard? H.G.Muller Tue Apr 24, 2012 1:37 pm
                                                                              Re: What should I support, UCI or Winboard? Christopher Conkie Tue Apr 24, 2012 1:45 pm
                                                                                    Re: What should I support, UCI or Winboard? H.G.Muller Tue Apr 24, 2012 1:53 pm
                                                                                          Re: What should I support, UCI or Winboard? Christopher Conkie Tue Apr 24, 2012 2:27 pm
      Re: What should I support, UCI or Winboard? Christopher Conkie Sun Apr 22, 2012 10:42 pm
            Re: What should I support, UCI or Winboard? H.G.Muller Mon Apr 23, 2012 8:07 am
                  Re: What should I support, UCI or Winboard? Ted Wong Mon Apr 23, 2012 10:43 am
                        Re: What should I support, UCI or Winboard? H.G.Muller Mon Apr 23, 2012 11:16 am
                              Re: What should I support, UCI or Winboard? Christopher Conkie Tue Apr 24, 2012 1:00 pm
                                    Re: What should I support, UCI or Winboard? H.G.Muller Tue Apr 24, 2012 1:04 pm
                                          Re: What should I support, UCI or Winboard? Christopher Conkie Tue Apr 24, 2012 3:09 pm
                                                Re: What should I support, UCI or Winboard? H.G.Muller Tue Apr 24, 2012 4:50 pm
                                                      Re: What should I support, UCI or Winboard? Asim Pereira Tue Apr 24, 2012 5:29 pm
                                                            Re: What should I support, UCI or Winboard? Michel Van den Bergh Tue Apr 24, 2012 6:07 pm
                                                            Re: What should I support, UCI or Winboard? Miguel A. Ballicora Tue Apr 24, 2012 6:16 pm
                        Re: What should I support, UCI or Winboard? Evert Glebbeek Mon Apr 23, 2012 11:25 am
                        Re: What should I support, UCI or Winboard? Tony Mokonen Mon Apr 23, 2012 10:00 pm
      Re: What should I support, UCI or Winboard? Don Dailey Mon Apr 23, 2012 1:44 pm
            Re: What should I support, UCI or Winboard? H.G.Muller Mon Apr 23, 2012 2:11 pm
                  Re: What should I support, UCI or Winboard? Don Dailey Mon Apr 23, 2012 2:51 pm
                        Re: What should I support, UCI or Winboard? H.G.Muller Mon Apr 23, 2012 6:01 pm
                              Re: What should I support, UCI or Winboard? Ronald de Man Mon Apr 23, 2012 7:33 pm
                                    Re: What should I support, UCI or Winboard? H.G.Muller Mon Apr 23, 2012 7:49 pm
                                          Re: What should I support, UCI or Winboard? Ronald de Man Mon Apr 23, 2012 9:03 pm
                                                Re: What should I support, UCI or Winboard? H.G.Muller Mon Apr 23, 2012 9:31 pm
                              Re: What should I support, UCI or Winboard? Don Dailey Mon Apr 23, 2012 7:34 pm
                                    Re: What should I support, UCI or Winboard? H.G.Muller Mon Apr 23, 2012 9:15 pm
                                    Re: What should I support, UCI or Winboard? Michel Van den Bergh Tue Apr 24, 2012 6:23 am
                                          Re: What should I support, UCI or Winboard? H.G.Muller Tue Apr 24, 2012 8:19 am
                                                Re: What should I support, UCI or Winboard? Evert Glebbeek Tue Apr 24, 2012 8:39 am
      Re: What should I support, UCI or Winboard? Daniel Mehrmann Mon Apr 23, 2012 9:49 pm
            Re: What should I support, UCI or Winboard? H.G.Muller Mon Apr 23, 2012 10:08 pm
                  Re: What should I support, UCI or Winboard? Daniel Mehrmann Mon Apr 23, 2012 10:42 pm
                        Re: What should I support, UCI or Winboard? H.G.Muller Tue Apr 24, 2012 5:36 am
                              Re: What should I support, UCI or Winboard? Daniel Mehrmann Tue Apr 24, 2012 6:50 am
                                    Re: What should I support, UCI or Winboard? H.G.Muller Tue Apr 24, 2012 7:17 am
                                          Re: What should I support, UCI or Winboard? Daniel Mehrmann Tue Apr 24, 2012 7:42 am
                                                Re: What should I support, UCI or Winboard? H.G.Muller Tue Apr 24, 2012 7:49 am
                                                      Re: What should I support, UCI or Winboard? Daniel Mehrmann Tue Apr 24, 2012 8:16 am
                                                            Re: What should I support, UCI or Winboard? H.G.Muller Tue Apr 24, 2012 8:35 am
                                                                  Re: What should I support, UCI or Winboard? Daniel Mehrmann Tue Apr 24, 2012 8:50 am
                                                                        Re: What should I support, UCI or Winboard? H.G.Muller Tue Apr 24, 2012 9:08 am
                                                                              Re: What should I support, UCI or Winboard? Ed Schroder Tue Apr 24, 2012 10:16 am
                                                                                    Re: What should I support, UCI or Winboard? H.G.Muller Tue Apr 24, 2012 11:57 am
                                                                              Re: What should I support, UCI or Winboard? Daniel Mehrmann Tue Apr 24, 2012 7:45 pm
                                                                                    Re: What should I support, UCI or Winboard? H.G.Muller Tue Apr 24, 2012 8:06 pm
      Re: What should I support, UCI or Winboard? Jon Dart Tue Apr 24, 2012 1:45 am
            Re: What should I support, UCI or Winboard? H.G.Muller Tue Apr 24, 2012 5:44 am
                  Re: What should I support, UCI or Winboard? Jon Dart Tue Apr 24, 2012 11:15 am
                        Re: What should I support, UCI or Winboard? H.G.Muller Tue Apr 24, 2012 12:32 pm
      Winboard ftw Daniel Shawul Wed Apr 25, 2012 2:10 pm
            Re: Winboard ftw H.G.Muller Wed Apr 25, 2012 2:45 pm
                  Re: Winboard ftw Daniel Shawul Wed Apr 25, 2012 3:21 pm
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: General Topics

 
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