| View previous topic :: View next topic |
| Author |
Message |
Daniel Shawul
Joined: 14 Mar 2006 Posts: 2185 Location: Ethiopia
|
Post subject: Re: Chess for Android upcoming network feature Posted: Thu Jul 05, 2012 9:53 pm |
|
|
| Quote: |
A think you have a completely wrong notion about what these adapters are supposed to do. Adapters don't 'start' anything.
|
No I don't but you repeated ignore my comments. I said they could do that if they want but it would be duplicated work. And then I described the better option of telling the GUI to do it. So now you have something in between which you can completely avoid.
| Quote: |
They are engines, and are started as daughter process of the GUI by the the GUI, like any engine. In the process hierarchy they are the ultimate slaves. If Polyglot is needed, the GUI handling the UCI engine will take care of starting Polyglot and putting it in between engine and itself (as usual). The adapter knows absolutely nothing about this. E.g.:
WB engine <--> Arena <--> adapter1 <===> adapter2 <--> WinBoard <--> Polyglot <--> UCI engine
|
Look at all your notations see the adapter is immediately connected to a GUI. You brought about Arena and other GUIs just in your _last_ post which I pointed out. That is not an argument at all if you have the same GUI on both sides but you want p2p connections then better integrate it into GUI. That is how every p2p game or other app is setup. Don't invent something weird to make a point...
| Quote: |
In this example WinBoard was started on the rightmost machine therough the command
winboard -fcp p2p.exe -scp UCIengine.exe -sUCI
taking care of starting Polyglot, UCIengine and p2p.exe. The user on the Arena side would be responsible for starting Arena there. I, sitting on the rightmost machine don't need (and don't want) to know about that.
| Quote: |
It sounds more like the Referee engine which does many things on behalf of the GUI but we had solid reason for that i.e to enable engine authors to write an adapter for any game. But work is not duplicated between GUI and referee unlike the new case.
|
| Quote: |
No, referee engines are completely different beasts, and the adapters are not supposed to be able to act as referee engines. That would destroy the whole idea of them being usable for each and every variant. In a GUI reuiring a referee engine, you would start a separate engine as referee, and then play against the adapter pseudo-engine, which is dumb:
|
|
Funny how you debate with yourself. I didn't bring up the referee engine to show how variants are played or whatever... The referee engine basically does the job of a GUI so we could have integrated it to the GUI. The only reason why we didn't was because the user could invent many variants meaning different adapters. SO this new adapter you proposed has similar feature in that regard. It can only be useful to separate it from the GUI if it has different behaviours as well. But you only brought up connecting Arena vs Winboard, Arena vs Scid etc just in your last post.
And even at that there aren't many chances for the user to write as many adapters for GUIs as there are adapters for different chess variants. So you might as well integrate it with your gui in short add support to Arena, Scid etc simple.
| Quote: |
| Code: |
referee1 <----
|
V
human1 <--> GUI1 <--> adapter1 <===> adapter2 <--> GUI2 <--> human2
|
Were GUI2 (or human2) are smart enough to refrain from using a referee
| Quote: |
Arena vs Scid is something new. But still you can have whatever you will have in the adapter, part of the GUI , and avoid messages like "tell GUI to update position" from the adapter, and directly update board instead. There is no reason for separateing GUI and adapter unlike the case of the referee engine. |
I don't see why you would want the adapter to tell the GUI to update the position. Are you talking about 'variant alien' now? That variant would still be playable by only exchanging moves between the GUIs if both of them were equiped with a referee. If there is a referee loaded, then the GUI should only use the board updates of the referee, and ignore that of the engine. So it doesn't make any difference if the adapter sends board updates or not. (So we choose 'not'.)
The reason for the separation is to be able to use any existing GUI, and thus equip all GUIs that exist in the entire world in one blow with this capability. That seems a good-enough reason to me... |
Right but we were not talking about connecting entire GUIs in the first place. So either you have to admit it sounds like the referee engine designed to equip all GUIs that exist in the entire world in one blow. Or that it is better to integrate it in the GUI if the purpose is to have p2p connections between your apps ... _________________ https://sites.google.com/site/dshawul/
https://github.com/dshawul |
|
| Back to top |
|
 |
|
| Subject |
Author |
Date/Time |
Chess for Android upcoming network feature |
Aart Bik |
Tue Jul 03, 2012 9:41 pm |
Re: Chess for Android upcoming network feature |
H.G.Muller |
Wed Jul 04, 2012 6:31 am |
Re: Chess for Android upcoming network feature |
Folkert van Heusden |
Wed Jul 04, 2012 7:47 am |
Re: Chess for Android upcoming network feature |
H.G.Muller |
Wed Jul 04, 2012 9:38 am |
Re: Chess for Android upcoming network feature |
Folkert van Heusden |
Wed Jul 04, 2012 10:01 am |
Re: Chess for Android upcoming network feature |
H.G.Muller |
Wed Jul 04, 2012 10:27 am |
Re: Chess for Android upcoming network feature |
Folkert van Heusden |
Wed Jul 04, 2012 10:39 am |
Re: Chess for Android upcoming network feature |
H.G.Muller |
Wed Jul 04, 2012 10:59 am |
Re: Chess for Android upcoming network feature |
Folkert van Heusden |
Wed Jul 04, 2012 11:06 am |
Re: Chess for Android upcoming network feature |
Daniel Mehrmann |
Thu Jul 05, 2012 10:21 am |
Re: Chess for Android upcoming network feature |
H.G.Muller |
Thu Jul 05, 2012 11:37 am |
Re: Chess for Android upcoming network feature |
Daniel Shawul |
Wed Jul 04, 2012 10:40 am |
Re: Chess for Android upcoming network feature |
Don Dailey |
Sat Jul 07, 2012 11:12 pm |
Re: Chess for Android upcoming network feature |
Don Dailey |
Sat Jul 07, 2012 11:21 pm |
Re: Chess for Android upcoming network feature |
Aart Bik |
Wed Jul 04, 2012 3:20 pm |
Re: Chess for Android upcoming network feature |
Aart Bik |
Wed Jul 04, 2012 3:48 pm |
Re: Chess for Android upcoming network feature |
H.G.Muller |
Wed Jul 04, 2012 4:33 pm |
Re: Chess for Android upcoming network feature |
Daniel Shawul |
Wed Jul 04, 2012 5:54 pm |
Re: Chess for Android upcoming network feature |
Aart Bik |
Wed Jul 04, 2012 6:43 pm |
Re: Chess for Android upcoming network feature |
H.G.Muller |
Wed Jul 04, 2012 7:16 pm |
Re: Chess for Android upcoming network feature |
Daniel Shawul |
Wed Jul 04, 2012 8:14 pm |
Re: Chess for Android upcoming network feature |
H.G.Muller |
Wed Jul 04, 2012 9:28 pm |
Re: Chess for Android upcoming network feature |
Daniel Shawul |
Wed Jul 04, 2012 10:26 pm |
Re: Chess for Android upcoming network feature |
H.G.Muller |
Thu Jul 05, 2012 5:01 am |
Re: Chess for Android upcoming network feature |
Daniel Shawul |
Thu Jul 05, 2012 12:03 pm |
Re: Chess for Android upcoming network feature |
H.G.Muller |
Thu Jul 05, 2012 3:59 pm |
Re: Chess for Android upcoming network feature |
Daniel Shawul |
Thu Jul 05, 2012 9:53 pm |
Re: Chess for Android upcoming network feature |
H.G.Muller |
Fri Jul 06, 2012 6:34 am |
Re: Chess for Android upcoming network feature |
Daniel Shawul |
Fri Jul 06, 2012 3:14 pm |
Re: Chess for Android upcoming network feature |
H.G.Muller |
Fri Jul 06, 2012 3:37 pm |
Re: Chess for Android upcoming network feature |
Daniel Shawul |
Fri Jul 06, 2012 9:53 pm |
Re: Chess for Android upcoming network feature |
H.G.Muller |
Fri Jul 06, 2012 10:34 pm |
Re: Chess for Android upcoming network feature |
Daniel Shawul |
Fri Jul 06, 2012 11:48 pm |
Re: Chess for Android upcoming network feature |
H.G.Muller |
Sun Jul 08, 2012 9:14 am |
Re: Chess for Android upcoming network feature |
Aart Bik |
Fri Jul 06, 2012 5:36 pm |
Re: Chess for Android upcoming network feature |
Daniel Shawul |
Wed Jul 04, 2012 7:55 pm |
Re: Chess for Android upcoming network feature |
Aart Bik |
Fri Jul 06, 2012 2:35 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
|
|