Hello,
Does anyone know of a chess interface that will allow you to setup an engine vs engine match via a command line AND will also display it as it's being played in a gui? I was playing around with cute chess cli but it doesn't seem to have any kind of switch to display the game in the gui as the game is played. I want to create an application that can create matches via the cli but I also want to watch the games.
Thanks for your help..
Watch engine vs engine games launched from a cli?
Moderators: hgm, Rebel, chrisw
-
- Posts: 381
- Joined: Thu Nov 22, 2012 12:20 am
- Location: New Hampshire
-
- Posts: 2272
- Joined: Mon Sep 29, 2008 1:50 am
Re: Watch engine vs engine games launched from a cli?
I am not aware of any program that implements this natively, but on Linux a similar effect is quite easy to achieve by directing the output of a GUI program to a virtual frame buffer. Then if one one wants to watch the games, one just connects to the virtual frame buffer. https://en.wikipedia.org/wiki/Xvfb .JohnW wrote: ↑Sat Jan 23, 2021 12:39 am Hello,
Does anyone know of a chess interface that will allow you to setup an engine vs engine match via a command line AND will also display it as it's being played in a gui? I was playing around with cute chess cli but it doesn't seem to have any kind of switch to display the game in the gui as the game is played. I want to create an application that can create matches via the cli but I also want to watch the games.
Thanks for your help..
Ideas=science. Simplification=engineering.
Without ideas there is nothing to simplify.
Without ideas there is nothing to simplify.
-
- Posts: 1342
- Joined: Wed Mar 08, 2006 9:41 pm
- Location: Morgantown, WV, USA
Re: Watch engine vs engine games launched from a cli?
When I ran OICS, what I did for the web gui was have the engine vs engines matches dump to a pgn file, then have the pgn2web display the pgn and refresh once a second.
Do not know of any GUI's that can do that however but might be a route to go down.
Do not know of any GUI's that can do that however but might be a route to go down.
-
- Posts: 191
- Joined: Mon Oct 31, 2016 6:30 pm
- Location: England
Re: Watch engine vs engine games launched from a cli?
In linux, just start an engine-engine match in xboard using the xboard command (with the required options) in a terminal window.
Then just move the terminal window to another desktop to carry on working.
You can then switch between desktops anytime to view the game.
Then just move the terminal window to another desktop to carry on working.
You can then switch between desktops anytime to view the game.
-
- Posts: 381
- Joined: Thu Nov 22, 2012 12:20 am
- Location: New Hampshire
Re: Watch engine vs engine games launched from a cli?
Thanks, that's a good idea. I will take a look at that..
-
- Posts: 3550
- Joined: Thu Jun 07, 2012 11:02 pm
-
- Posts: 381
- Joined: Thu Nov 22, 2012 12:20 am
- Location: New Hampshire
Re: Watch engine vs engine games launched from a cli?
Because as I was saying in my post I want to create an application that will create the matches.