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 

Chess for Android upcoming network feature
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: 2186
Location: Ethiopia

PostPost subject: Re: Chess for Android upcoming network feature    Posted: Fri Jul 06, 2012 9:53 pm Reply to topic Reply with quote

hgm wrote:
You expect much more than I do from the p2p connection. If people want to broadcast their game, they should indeed use a third-party server. The problem I intended to solve is much less ambitious: 2 people want to play a friendly game of (say) Chu Shogi on a Sunday afternoon. Both start WinBoard (alas, no Arena; that does not support Chu Shogi yet) with p2p.exe as engine, one types the IP address of the other in the 'Internet Address' field of the Engine #N Settings dialog, and presses the 'Connect' button there (created by p2p as a -string and a -save option), and starts to play.

That's it.


My app, just like many video games, has a p2p mode where one of the participants become a server by accepting connections on a port. So some will decide to play a game, and some will just observe. Pretty much the same as games I used to play with my friends (Need for speed f.i). Others games with a huge fan base mostly shooter games may have their own servers that people connect to. In any case you need a server for multi-player games i.e p2p or not.

Quote:

Of course one person could have started WB with p2p plus a second engine, in match mode, and it would act as a fully automatic engine server, letting the connecting person now play against the engine. The connecting party could also have started his GUI with a second engine besides p2p, and hit 'Two Machines' after connecting. Then the engines would play each other, and they can both watch.

No one else can watch. If it should be set up for an audience, one of the players can start the usual broadcasting software next to WinBoard (TLCS, ChessLive!).

Ok you can use other software but what I had in mind was more like the video games I mentioned above that do it themselves.
Quote:

In case they want to do Chess, and one of them is partial to Arena, it works the same. Arena does not have to accept any commands from p2p. It will get its commands from the person that uses it, either during the game, or when setting it up with an engine.

Arena can only be used as a client since it doesn't matter what is being used on the other side. This is not spectacular, infact my app don't care what is on the other side. It can accept connections from a telnet client (putty f.i) if you can type the moves. No need for adapters since you can simply follow the protocol and type in moves. So that is pretty much a given when you have remote connections. The problem is if it wants to be the server in a p2p it has to accept commands through its adapter which is very difficult to do.
Quote:

It is not clear to me whatever else you could want to do with it, other than playing games. This is not intended to be an alternative to Remote Desktop. It is not intended to let connecting people select and start up an engine of their choice on the remote machine (ssh would do that fine...).

Not ssh, I wanted something like the p2p connections in video games and I have that working well at least on the desktop. Infact it is pretty much like a gigantic FICS server as it allows the user many choices. I did not want to implement the FICS protocol directly since I found it a little awkward for many variants. If I just start it in console mode it can serve thousands of games at a time . I know you have a variants server with FICS protocol. Anyway by now we have said what we wanted and hopefully cleared up stuff.
_________________
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
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
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