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 

@HG: auto moveing and lift,put,drag
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
Daniel Shawul



Joined: 14 Mar 2006
Posts: 2187
Location: Ethiopia

PostPost subject: Re: @HG: auto moveing and lift,put,drag    Posted: Fri Jun 01, 2012 9:10 pm Reply to topic Reply with quote

I now checked the previous code and handling hover is complex not because Winboard uses a referee that is playing a game. The copy of the search stack have to be updated as legs are made step by step. Keeping the state synchronized with the leg move updates on a separate board is what made it complicated.

Quote:

I guess reverse entry could be a convention to make this work. Click any number of empty or opponent squares before you click a piece of your own, and it will capture them all with a multi-leg move (i.e. send 'usermove LEG1,LEG2,LEG3,...' to the engine). With an engine that supports 'click' there would be much more flexibility: the GUI could send the individual squares in any order, and keep that up until the engine/referee responds with 'move' (in the mean time performing highlighting as requested). An engine would be aware of the possible ambiguities in move termination, and could apply its own conventions to resolve them (e.g. to terminate entry that might have continued, click the same piece again as last time).

I read that again. The part I don't understand is why the GUI has to keep a list of clicked squares. If a square not shared between the short/long version of the move is clicked, it is clear the longer version will be made. So we are assuming user only clicked shared squares in which case a signal is required. That doesn't necessarily have to be the piece that has to be clicked again but it makes more sense. Clicking any square twice can be used as the signal too I think.
_________________
https://sites.google.com/site/dshawul/
https://github.com/dshawul
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Display posts from previous:   
Subject Author Date/Time
@HG: auto moveing and lift,put,drag Daniel Shawul Sun May 27, 2012 3:28 pm
      Re: @HG: auto moveing and lift,put,drag Daniel Shawul Sun May 27, 2012 11:06 pm
      Re: @HG: auto moveing and lift,put,drag H.G.Muller Tue May 29, 2012 8:27 am
            Re: @HG: auto moveing and lift,put,drag Daniel Shawul Tue May 29, 2012 2:46 pm
                  Re: @HG: auto moveing and lift,put,drag H.G.Muller Tue May 29, 2012 3:36 pm
                        Re: @HG: auto moveing and lift,put,drag Daniel Shawul Tue May 29, 2012 4:23 pm
                              Re: @HG: auto moveing and lift,put,drag H.G.Muller Wed May 30, 2012 7:29 am
                                    Re: @HG: auto moveing and lift,put,drag Daniel Shawul Wed May 30, 2012 9:12 pm
                                          Re: @HG: auto moveing and lift,put,drag H.G.Muller Fri Jun 01, 2012 3:51 pm
                                                Re: @HG: auto moveing and lift,put,drag Daniel Shawul Fri Jun 01, 2012 5:07 pm
                                                      Re: @HG: auto moveing and lift,put,drag Daniel Shawul Fri Jun 01, 2012 9:10 pm
                                                      Re: @HG: auto moveing and lift,put,drag Daniel Shawul Sun Jun 03, 2012 1:27 pm
                                                            Re: @HG: auto moveing and lift,put,drag H.G.Muller Sun Jun 03, 2012 2:29 pm
                                                                  Re: @HG: auto moveing and lift,put,drag Daniel Shawul Sun Jun 03, 2012 2:46 pm
                                                                        Re: @HG: auto moveing and lift,put,drag H.G.Muller Sun Jun 03, 2012 6:13 pm
                                                                              Re: @HG: auto moveing and lift,put,drag Daniel Shawul Sun Jun 03, 2012 7:44 pm
                                                                                    Re: @HG: auto moveing and lift,put,drag H.G.Muller Mon Jun 04, 2012 4:05 am
                                                                                          Re: @HG: auto moveing and lift,put,drag Daniel Shawul Mon Jun 04, 2012 11:27 am
                                                                                          Re: @HG: auto moveing and lift,put,drag H.G.Muller Mon Jun 04, 2012 4:06 pm
                                                                                          Re: @HG: auto moveing and lift,put,drag Daniel Shawul Tue Jun 05, 2012 12:51 am
      Re: @HG: auto moveing and lift,put,drag Engin Üstün Sun Jun 03, 2012 3:49 pm
            Re: @HG: auto moveing and lift,put,drag Daniel Shawul Sun Jun 03, 2012 4:34 pm
                  Re: @HG: auto moveing and lift,put,drag Engin Üstün Sun Jun 03, 2012 5:26 pm
                        Re: @HG: auto moveing and lift,put,drag Daniel Shawul Sun Jun 03, 2012 9:46 pm
                              Re: @HG: auto moveing and lift,put,drag H.G.Muller Mon Jun 04, 2012 3:49 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