Duck Chess
Moderator: Ras
-
- Posts: 28353
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Duck Chess
When you run the engine command you use from a terminal (after setting up the Linux part), what does it say when you type 'uci' to it?
-
- Posts: 121
- Joined: Sat Dec 03, 2022 9:28 pm
- Full name: Rick Groszkiewicz
Re: Duck Chess
I get no response after UCI:


Retired actuary and software developer. I love chess, coffee, wine and food
-
- Posts: 28353
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Duck Chess
You are doing this on the server (Linux) side. Of course nothing happens there; the server is waiting for a connection request from the network to come in, not at the keyboard. You should do it on the (Windows) machine where WinBoard uses connect.exe as an engine, to check in the terminal whether running that same command indeed behaves as an engine.
-
- Posts: 121
- Joined: Sat Dec 03, 2022 9:28 pm
- Full name: Rick Groszkiewicz
Re: Duck Chess
Sorry, I assumed that "in the terminal" was a reference to the linux PC.
I'm not sure how to run UCI on the windows PC. I tried running this at the command prompt, but nothing happens on either side:
e:
cd TV
cd PIX
cd Duck-Fmax
uci2wb.exe ./mayhem/"mayhemduck-23.exe"
I'm not sure how to run UCI on the windows PC. I tried running this at the command prompt, but nothing happens on either side:
e:
cd TV
cd PIX
cd Duck-Fmax
uci2wb.exe ./mayhem/"mayhemduck-23.exe"
Retired actuary and software developer. I love chess, coffee, wine and food
-
- Posts: 121
- Joined: Sat Dec 03, 2022 9:28 pm
- Full name: Rick Groszkiewicz
Re: Duck Chess
Then I tried this command:
connect64.exe -p 27015 -pw "Have fun, have WinBoard!" -fUCI 10.0.0.41
and got this result:
# waiting to connect
host = -fUCI, port = 27015
telluser (-fUCI) Unable to connect to server!
connect64.exe -p 27015 -pw "Have fun, have WinBoard!" -fUCI 10.0.0.41
and got this result:
# waiting to connect
host = -fUCI, port = 27015
telluser (-fUCI) Unable to connect to server!
Retired actuary and software developer. I love chess, coffee, wine and food
-
- Posts: 28353
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Duck Chess
Well, -fUCI is not an option that means anything to connect.exe. So it doesn't recognize it as an option, and thinks it is the domain name of the server it has to connect to. Of course the name server of your LAN doesn't know any computer of that name, so the attempt to connect to it fails. And this is then what connect.exe reports) (In a telluser command, so that when you would have been running it through a GUI instead of in the terminal, that GUI would show you a popup with the error message.)
Leave it out so that connect.exe understands that it has to connect to 10.0.0.41 .
I am not sure the Windows command interpreter understands the way you use quotes. Or why you use quotes here in the first place; there seems nothing between the quotes that would not be understood the same way without those (such as spaces, which otherwise would be interpreted as a separator of command arguments).
Otherwise this should work. Provided that:
1) uci2wb.exe is inside the Duck-Fmax folder
2) that folder has a sub-folder 'mayhem', which contains a file mayhemduck-23.exe
3) that .exe would not expect any files in its own folder (such as books, config files...).
Leave it out so that connect.exe understands that it has to connect to 10.0.0.41 .
'Terminal' and 'command prompt' are synonyms. Or, strictly speaking, 'command prompts' is a pars pro toto, symbolizing the terminal window because it appears in the latter.rgrosz789 wrote: ↑Fri Apr 28, 2023 4:11 pm Sorry, I assumed that "in the terminal" was a reference to the linux PC.
I'm not sure how to run UCI on the windows PC. I tried running this at the command prompt, but nothing happens on either side:
e:
cd TV
cd PIX
cd Duck-Fmax
uci2wb.exe ./mayhem/"mayhemduck-23.exe"
I am not sure the Windows command interpreter understands the way you use quotes. Or why you use quotes here in the first place; there seems nothing between the quotes that would not be understood the same way without those (such as spaces, which otherwise would be interpreted as a separator of command arguments).
Otherwise this should work. Provided that:
1) uci2wb.exe is inside the Duck-Fmax folder
2) that folder has a sub-folder 'mayhem', which contains a file mayhemduck-23.exe
3) that .exe would not expect any files in its own folder (such as books, config files...).
-
- Posts: 121
- Joined: Sat Dec 03, 2022 9:28 pm
- Full name: Rick Groszkiewicz
Re: Duck Chess
I had some success last night, using either engine definition in winboard:
connect64.exe -p 27015 -pw "Have fun, have WinBoard!" 10.0.0.41
"connect-no-pw-no-UCI" -fcp 'connect64.exe 10.0.0.41'
But today I could not get any moves played from the linux side. I need to do more testing to figure out what does work consistently

connect64.exe -p 27015 -pw "Have fun, have WinBoard!" 10.0.0.41
"connect-no-pw-no-UCI" -fcp 'connect64.exe 10.0.0.41'
But today I could not get any moves played from the linux side. I need to do more testing to figure out what does work consistently

Retired actuary and software developer. I love chess, coffee, wine and food
-
- Posts: 465
- Joined: Fri Dec 16, 2016 11:04 am
- Location: France
- Full name: Richard Delorme
Re: Duck Chess
I use ssh to play my engine Dumb from a raspberry pi on my main PC. Here is the command I am using to play rpiDumb during the monthly tournament and to get the display with woard on my main PC:rgrosz789 wrote: ↑Thu Apr 20, 2023 6:17 pm Based on the difficulty with running some executables on my old hardware, I decided to buy a newer PC that will be dedicated to linux. Hope that will allow me to do more testing of Duck chess engines.
One thing I would like to try is playing the linux version against the Windows version of one engine (say Fairy Stockfish or MayhemDuck). I searched on this forum, but didn't see a discussion of setting up a tournament on a local network, between multiple computers.
Code: Select all
xboard -zp -ics -icshost nightmare-chess.nl -icshelper openseal -fcp "ssh pi@192.168.1.38 bin/dumb-1.11" -fd $HOME/bin -fUCI -autoKibitz -fSAN -defaultHashSize 1024 -sgf joost-dumb-2023-01.pgn -debug
Richard Delorme
-
- Posts: 529
- Joined: Sat Mar 02, 2013 11:31 pm
Re: Duck Chess
I published MayhemDuck 2.4. It scores 90% vs v2.3. Lots of improvements.
Calculates much deeper.
Better opening book.
Bench: 5939296
I decided to make a 3 game 60+2 minimatch on youtube:
( The 3rd game lasted forever ... )
So people see how Xboard looks on Linux.
v2.4 vs v2.3
Calculates much deeper.
Better opening book.
Bench: 5939296
I decided to make a 3 game 60+2 minimatch on youtube:
( The 3rd game lasted forever ... )
So people see how Xboard looks on Linux.
v2.4 vs v2.3
Code: Select all
[Event "Computer Chess Game"]
[Site "ThinkPad-E14-Gen-2"]
[Date "2023.05.03"]
[Round "-"]
[White "MayhemDuck 2.4 (UCI2WB)"]
[Black "MayhemDuck 2.3 (UCI2WB)"]
[Result "1-0"]
[TimeControl "60+1"]
[Variant "duck"]
[Annotator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7 {-0,32/4 1,9} 26. Qxf4,c1
{+5,69/12 1,9} c6,b1 {-4,75/7 1,9} 27. Nc7,c1 {+4,67/9 1,9} Kd7,b1
{-4,19/10 1,9} 28. Nxa8,c1 {+5,27/9 1,8} Qxc3,b6 {-5,32/8 1,8} 29. Qc7,e6
{+4,47/7 1,8} Ke8,b6 {-5,10/5 1,8} 30. Qe5,d4 {+5,78/12 1,8} Qxc2,e6
{-4,99/13 1,8} 31. Nc7,d7 {+5,28/12 1,8} Kf8,e6 {-4,83/8 1,8} 32. Qf6,g8
{+5,50/8 1,7} Qb1,f7 {-4,44/12 1,7} 33. a4,d1 {+5,44/14 1,7} Kg8,h2
{-4,19/7 1,7} 34. Ne6,d1 {+5,45/13 1,7} h5,g7 {-4,81/9 1,7} 35. Qf8,d1
{+5,59/14 1,6} Kh7,g7 {-4,92/10 1,6} 36. Qf7,d1 {+5,59/14 1,6} Kh6,g7
{-5,10/10 1,6} 37. Qf6,d1 {+5,59/14 1,6} Kh7,g7 {-5,14/10 1,6} 38. Qf7,d1
{+5,39/15 1,6} Kh6,g7 {-5,10/10 1,6} 39. Qf6,d1 {+5,59/14 1,5} Kh7,g7
{-5,14/10 1,5} 40. Qg5,d1 {+5,48/16 1,5} Qg6,f6 {-5,43/6 1,5} 41. Nf8,g7
{+15,57/12 1,5} Kg8,c4 {-15,62/8 1,5} 42. Nxg6,e5 {+16,51/12 1,5} Kg7,e1
{-16,50/6 1,5} 43. Ne5,h4 {+16,81/13 1,5} Kf8,e7 {-16,61/10 1,5} 44.
Qxh5,a8 {+17,26/13 1,5} Ke7,g6 {-16,91/9 1,5} 45. Qf5,d6 {+17,65/12 1,4}
Kd8,e6 {-17,68/8 1,4} 46. Qf8,c7 {+18,07/12 1,4} Kc8,d8 {-17,37/13 1,4} 47.
a5,c7 {+18,17/12 1,4} Kb8,e8 {-17,73/10 1,4} 48. Qd6,a7 {+18,07/10 1,4}
Kc8,a1 {-17,81/9 1,4} 49. Qd7,b8 {+104,85/7 0,1} Kxd7,d4 {-104,85/4 0,1}
50. Nxd7,a8 {+104,85/1 0,1}
{Xboard adjudication: King destroyed} 1-0
-
- Posts: 121
- Joined: Sat Dec 03, 2022 9:28 pm
- Full name: Rick Groszkiewicz
Re: Duck Chess
I'm trying to run engines on my main Windows PC (with WinBoard) against engines on a Linux PC.abulmo2 wrote: ↑Sun Apr 30, 2023 12:40 am
I use ssh to play my engine Dumb from a raspberry pi on my main PC. Here is the command I am using to play rpiDumb during the monthly tournament and to get the display with woard on my main PC:Code: Select all
xboard -zp -ics -icshost nightmare-chess.nl -icshelper openseal -fcp "ssh pi@192.168.1.38 bin/dumb-1.11" -fd $HOME/bin -fUCI -autoKibitz -fSAN -defaultHashSize 1024 -sgf joost-dumb-2023-01.pgn -debug
I have not figured out the equivalent of using ssh from Windows to connect to the Linux PC. Based on Google searches, I should use PuTTY under Windows:
https://opensource.com/article/21/6/ssh-windows
Retired actuary and software developer. I love chess, coffee, wine and food