| View previous topic :: View next topic |
| Author |
Message |
Daniel Shawul
Joined: 14 Mar 2006 Posts: 2187 Location: Ethiopia
|
Post subject: Re: @HG: auto moveing and lift,put,drag Posted: Sun Jun 03, 2012 7:44 pm |
|
|
| hgm wrote: |
Engine can specify promo piece in move it sends, and dumb GUI will obey thay. True problem in large Shogi variants is that there are more piece types thsn letters. (E.g. Taykyoku Shogi has 209 piece types, not counting promotions.) So 2-letter piece names are required. Also gor board files,btw (36x36).
You know engime can already cause popups with reply? (askuser command.) |
I guess I could use 'askuser' instead of 'moves' then. But are you sure that will work for you, because a list has to be displayed of all the moves (or promotion pieces ). It looks like askuser is something suitable for edit box
| Quote: |
askuser REPTAG MESSAGE
Here REPTAG is a string containing no whitespace, and MESSAGE consists of any characters, including whitespace, to the end of the line. xboard pops up a question dialog that says MESSAGE and has a typein box. If the user types in "bar", xboard sends "REPTAG bar" to the engine. The user can cancel the dialog and send nothing.
|
Then the gui sends back the result to the referee, but we need the gui to finish of making the move. But I guess this is not much of a problem. The list of moves however is necessary, otherwise we assume the gui or user knows what to input in the editbox (i.e promotion pieces etc).
I don't know what we can do about the 209 piece types you mentioned. Even all of ASCII is not enough for that, so a double character looks like a better soulution. But we have to get our fen,move,san,epd parsers rewritten... _________________ https://sites.google.com/site/dshawul/
https://github.com/dshawul |
|
| Back to top |
|
 |
|
| 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 |
|
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
|
|