| View previous topic :: View next topic |
| Author |
Message |
Evert Glebbeek

Joined: 21 Jan 2011 Posts: 893 Location: NL
|
Post subject: Re: What should I support, UCI or Winboard? Posted: Tue Apr 24, 2012 8:39 am |
|
|
| hgm wrote: |
How about adding an "undo=0" feature to the protocol? Which engines could use to indicate they don't support undo / remove (which we would then label 'deprecated'), and let the GUI simply resend the game (new; force; usermove MOVE1; ....; usermove MOVEN; playother;) in case the user requests an 'undo'? It would then be the responsibility of the engine to make sure it does not erase its hash table during such reloading. |
I fail to see how this is in any way easier than a "takeback" command - especially considering that "takeback"/"unmake"/"undo" (whatever you call it) is a function that already exists in the engine because the search uses it all the time. Jazz (and Sjaak) simply call "takeback()" once when they receive "undo" and twice when they receive "remove".
UCI resending the movelist is actually one of the things I dislike about the protocol: I need extra code to make sure that I don't trash the hash table/killer lists/other information I might have stored and it isn't a smooth fit to the way Jazz works.
All of this of course depends on how the engine is designed and works internally.
| Quote: |
| As I already wrote above, this is exactly the way how I implement 'undo' now in my engines. Just keep a record of all moves played or entered, and stuff that list (appropriately clipped) back into the input buffer when the engine receives 'undo'/'remove'. We might as well have the GUI do it for us... |
Sounds horribly convoluted to me... |
|
| Back to top |
|
 |
|
| 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 |
|
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
|
|