Peer-to-peer GUI connection adapter

This forum is for general discussions and questions, including Collectors Corner and anything to do with Computer chess.

Moderators: Harvey Williamson, Steve B, Watchman

Forum rules
This textbox is used to restore diagrams posted with the fen tag before the upgrade.
Post Reply
h.g.muller
Member
Posts: 32
Joined: Fri Jan 09, 2009 11:14 am
Location: Amsterdam

Peer-to-peer GUI connection adapter

Post by h.g.muller »

I have programmed an adapter to directly play games between two GUIs on different machines, over a network. The adapter (p2p.exe) looks to the GUI like a normal engine, and will start listening as a server for incoming connection requests as soon as you start it. Through its engine options you can then enter an IP adress of the machine you want to connect to, and press the Connect button (both in the GUI engine-configuration menu), to make the connection between the p2p pseudo-engines on the different machines. By putting both GUIs in human-engine mode (playing opposite colors!) you can then play a game against your remote opponent, the connected p2ps shuttling the moves between the mahines. Of course you could use an engine on one or both sides as well (by putting the GUI there in engine-engine mode, the engine playing p2p).

Image

Downloads:
http://hgm.nubati.net/p2p.zip (Windows binary + docs)
http://hgm.nubati.net/p2p (Linux binary)
http://www.aartbik.com/MISC/eng.html (Android)
shiv
Member
Posts: 57
Joined: Sat Nov 24, 2007 10:32 pm

Re: Peer-to-peer GUI connection adapter

Post by shiv »

h.g.muller wrote:I have programmed an adapter to directly play games between two GUIs on different machines, over a network. The adapter (p2p.exe) looks to the GUI like a normal engine, and will start listening as a server for incoming connection requests as soon as you start it. Through its engine options you can then enter an IP adress of the machine you want to connect to, and press the Connect button (both in the GUI engine-configuration menu), to make the connection between the p2p pseudo-engines on the different machines. By putting both GUIs in human-engine mode (playing opposite colors!) you can then play a game against your remote opponent, the connected p2ps shuttling the moves between the mahines. Of course you could use an engine on one or both sides as well (by putting the GUI there in engine-engine mode, the engine playing p2p).

Image

Downloads:
http://hgm.nubati.net/p2p.zip (Windows binary + docs)
http://hgm.nubati.net/p2p (Linux binary)
http://www.aartbik.com/MISC/eng.html (Android)
Thanks! This is very useful to test out remote engines (even cloud engines).
Post Reply