Hello! I retouched Sam to make it compatible with CuteChess.
As you maybe know, CuteChess considers illegal a promotion move without the piece symbol. Some time ago, I had suggested to CuteChess developers to be less strict on that point, but they refused, which is their right. So when I have time I try to fix that problem in my favourite engines.
Maybe someone will be interested. Here is the source code, with Linux binaries. Unfortunately I don't yet had time to make binaries for Windows. (I don't have a Windows machine with a C compiler under the hand.)
sam-rc-0.1.zip
Thanks to Jonathan Kreuzer for his beautiful piece of code.
Regards.
Roland
Sam retouched for CuteChess
Moderators: hgm, Rebel, chrisw
-
- Posts: 640
- Joined: Sat Jun 08, 2013 10:07 am
- Location: France
- Full name: Roland Chastain
Sam retouched for CuteChess
Qui trop embrasse mal étreint.
-
- Posts: 1296
- Joined: Sun Mar 12, 2006 6:46 pm
- Location: Kelowna
- Full name: Tony Mokonen
Re: Sam retouched for CuteChess
I get a page telling me access is denied when I try to download the file.Roland Chastain wrote: ↑Mon Oct 19, 2020 7:20 pm Hello! I retouched Sam to make it compatible with CuteChess.
As you maybe know, CuteChess considers illegal a promotion move without the piece symbol. Some time ago, I had suggested to CuteChess developers to be less strict on that point, but they refused, which is their right. So when I have time I try to fix that problem in my favourite engines.
Maybe someone will be interested. Here is the source code, with Linux binaries. Unfortunately I don't yet had time to make binaries for Windows. (I don't have a Windows machine with a C compiler under the hand.)
sam-rc-0.1.zip
Thanks to Jonathan Kreuzer for his beautiful piece of code.
Regards.
Roland
SamChess is a fun little program, and despite being very compact, it's fairly easy to read and understand. It took very little effort for me to change it to play variants like Knightmate and Knightrider chess.
-
- Posts: 640
- Joined: Sat Jun 08, 2013 10:07 am
- Location: France
- Full name: Roland Chastain
Re: Sam retouched for CuteChess
Yes, the code is easy enough to understand.
By the way, I have all your versions. I even copied a piece of code from them (for the handling of the "protover" command).
I had found the links on that page.
Thank you for reporting the problem. I hope it will work now. Could you retry please?
samchess.zip
Qui trop embrasse mal étreint.
-
- Posts: 1296
- Joined: Sun Mar 12, 2006 6:46 pm
- Location: Kelowna
- Full name: Tony Mokonen
Re: Sam retouched for CuteChess
Sorry, I forgot to let you know that the updated link works fine.
-
- Posts: 640
- Joined: Sat Jun 08, 2013 10:07 am
- Location: France
- Full name: Roland Chastain
Re: Sam retouched for CuteChess
Thank you for the confirmation. I could have verified myself by logging out of my Google account, but I didn't get the idea until after.
Qui trop embrasse mal étreint.
-
- Posts: 4607
- Joined: Wed Oct 01, 2008 6:33 am
- Location: Regensburg, Germany
- Full name: Guenther Simon
Re: Sam retouched for CuteChess
Just now after the link from Roland is not working anymore (link check for my chronology from today), I realized that this just had linux compilations and also that Tony wanted to create a windows compilation, but none was done so far.Roland Chastain wrote: ↑Mon Oct 19, 2020 7:20 pm Hello! I retouched Sam to make it compatible with CuteChess.
As you maybe know, CuteChess considers illegal a promotion move without the piece symbol. Some time ago, I had suggested to CuteChess developers to be less strict on that point, but they refused, which is their right. So when I have time I try to fix that problem in my favourite engines.
Maybe someone will be interested. Here is the source code, with Linux binaries. Unfortunately I don't yet had time to make binaries for Windows. (I don't have a Windows machine with a C compiler under the hand.)
sam-rc-0.1.zip
Thanks to Jonathan Kreuzer for his beautiful piece of code.
Regards.
Roland
Therefor I have created a win binary from Rolands fixed source now (ssse3 to cover most hardware) and uploaded to my download site.
https://rwbc-chess.de
trollwatch:
Talkchess nowadays is a joke - it is full of trolls/idiots/people stuck in the pleistocene > 80% of the posts fall into this category...
trollwatch:
Talkchess nowadays is a joke - it is full of trolls/idiots/people stuck in the pleistocene > 80% of the posts fall into this category...
-
- Posts: 640
- Joined: Sat Jun 08, 2013 10:07 am
- Location: France
- Full name: Roland Chastain
Re: Sam retouched for CuteChess
Hello Günther!Guenther wrote: ↑Wed May 05, 2021 10:24 am Just now after the link from Roland is not working anymore (link check for my chronology from today), I realized that this just had linux compilations and also that Tony wanted to create a windows compilation, but none was done so far.
Therefor I have created a win binary from Rolands fixed source now (ssse3 to cover most hardware) and uploaded to my download site.
Yes, I deleted my Google drive. Sorry for the inconvenience.
Thank you for the compilation. Feel free to append also the source on your page (and all the other sources from me that you would like).
Regards.
Roland
Qui trop embrasse mal étreint.