Hey guys, thanks for bringing this up. I pushed a new module to github, which adds better cecp/xboard/wb support. It also fixes the hang Nobert was talking about.
I would love to add qsearch to sunfish. Right now horizontal effects make it blunder pretty badly in some positions. I'm not sure what the simplest way to do it would be though.
I also made some graphics inspired by Ruxy:
SUNFISH - a new chess engine written in Python !
Moderators: hgm, Rebel, chrisw
-
- Posts: 94
- Joined: Thu Feb 27, 2014 8:19 pm
-
- Posts: 3226
- Joined: Wed May 06, 2009 10:31 pm
- Location: Fuquay-Varina, North Carolina
Re: SUNFISH - a new chess engine written in Python !
Welcome to CCC, Thomas! And thanks for sharing your engine with us. I will be trying out Sunfish very soon.
-
- Posts: 1643
- Joined: Tue May 20, 2008 4:57 pm
- Location: Augsburg - Germany
Re: SUNFISH - a new chess engine written in Python !
Yes, you can use Sunfish to play a console-based match with a double-mouse click on sunfish.py
your move: e2e4
searched 67590 nodes depth 6 score -107
my move: b6c6
your move: d2d4
searched 26472 nodes depth 5 score 160
my move: e7e5
your move: d4d5
searched 46168 nodes depth 5 score 101
my move: c6e7
etc.
But playing under WinBoard-protocol with a bat.-file python -u test.py
or python -u test.py -xboard failed with Arena http://www.playwitharena.com/ failed because no moves were made
(in contrast to yesterday) by the program
Be aware that you can run another Python Engine "Shatranj"
https://code.google.com/p/shatranjpy/ with a .bat-file like
python -u shatranj117.py -xboard to run normally into the same interface (with Python 2.7.6) and an editor like Notepad++
Best wishes,
Norbert
your move: e2e4
searched 67590 nodes depth 6 score -107
my move: b6c6
your move: d2d4
searched 26472 nodes depth 5 score 160
my move: e7e5
your move: d4d5
searched 46168 nodes depth 5 score 101
my move: c6e7
etc.
But playing under WinBoard-protocol with a bat.-file python -u test.py
or python -u test.py -xboard failed with Arena http://www.playwitharena.com/ failed because no moves were made
(in contrast to yesterday) by the program
Be aware that you can run another Python Engine "Shatranj"
https://code.google.com/p/shatranjpy/ with a .bat-file like
python -u shatranj117.py -xboard to run normally into the same interface (with Python 2.7.6) and an editor like Notepad++
Best wishes,
Norbert
-
- Posts: 4468
- Joined: Fri Apr 21, 2006 4:19 pm
- Location: IASI - the historical capital of MOLDOVA
- Full name: SilvianR
Re: HAVING A WORKING SUNFISH ON WINBOARD GUI !!!
Hi all !
1.-download the new archive (28-02-2014);
2.-replace the test.py from this archive with the old test.py file (it has xboard enabled). If you don't have the old test.py edit the new like in the below image !
3.-under Winboard GUI use the following .ini lines:
"C:\Python33\python -u C:\WbEngines\sunfish\test.py" /fd="C:\WbEngines\sunfish"
the same for the second directory
You can replace with your locations of Python interpreter and test.py file !
THANK YOU THOMAS FOR THIS NEW ENGINE WRITTEN IN PYTHON !!!
A nice Saturday for everybody here !
SilvianR
1.-download the new archive (28-02-2014);
2.-replace the test.py from this archive with the old test.py file (it has xboard enabled). If you don't have the old test.py edit the new like in the below image !
3.-under Winboard GUI use the following .ini lines:
"C:\Python33\python -u C:\WbEngines\sunfish\test.py" /fd="C:\WbEngines\sunfish"
the same for the second directory
You can replace with your locations of Python interpreter and test.py file !
THANK YOU THOMAS FOR THIS NEW ENGINE WRITTEN IN PYTHON !!!
A nice Saturday for everybody here !
SilvianR
-
- Posts: 4468
- Joined: Fri Apr 21, 2006 4:19 pm
- Location: IASI - the historical capital of MOLDOVA
- Full name: SilvianR
Re: HAVING A WORKING SUNFISH ON WINBOARD GUI !!!
Some minutes ago a Python match : Lovez vs. Sunfish (add please Shatranj 1.17 of Mr. Sam Tanous and my two other ones ). A nice collection !!!
SilvianR
SilvianR
-
- Posts: 4468
- Joined: Fri Apr 21, 2006 4:19 pm
- Location: IASI - the historical capital of MOLDOVA
- Full name: SilvianR
Re: SUNFISH - a new chess engine written in Python !
Hello Norbert !
See my below post. Sunfish works cool in Winboard/Arena GUIs !
http://talkchess.com/forum/viewtopic.ph ... 07&t=51430
SilvianR
See my below post. Sunfish works cool in Winboard/Arena GUIs !
http://talkchess.com/forum/viewtopic.ph ... 07&t=51430
SilvianR
-
- Posts: 4468
- Joined: Fri Apr 21, 2006 4:19 pm
- Location: IASI - the historical capital of MOLDOVA
- Full name: SilvianR
Re: A HARD VICTORY OF MR.RUXY VERSUS SUNFISH !
By far the goodest chess engine written in Python ! A superb architecture !
SilvianR
NR: ComputerChessWiki - please post this superb chess engine in EnginesList ! THANK YOU !
SilvianR
NR: ComputerChessWiki - please post this superb chess engine in EnginesList ! THANK YOU !
-
- Posts: 397
- Joined: Sun Oct 29, 2006 4:38 am
- Location: Schenectady, NY
Re: A HARD VICTORY OF MR.RUXY VERSUS SUNFISH !
Hi Silvian,Sylwy wrote:By far the goodest chess engine written in Python ! A superb architecture !
SilvianR
NR: ComputerChessWiki - please post this superb chess engine in EnginesList ! THANK YOU !
Sunfish was added to the Chess Engine List on Feb 27.
Ron
-
- Posts: 41451
- Joined: Sun Feb 26, 2006 10:52 am
- Location: Auckland, NZ
Re: A HARD VICTORY OF MR.RUXY VERSUS SUNFISH !
How strong do you estimate Sunfish to be?Sylwy wrote:By far the goodest chess engine written in Python ! A superb architecture !
gbanksnz at gmail.com
-
- Posts: 4468
- Joined: Fri Apr 21, 2006 4:19 pm
- Location: IASI - the historical capital of MOLDOVA
- Full name: SilvianR
Re:?????????????????............????????????????
Hello Maestro Ron !Ron Murawski wrote:Hi Silvian,Sylwy wrote:By far the goodest chess engine written in Python ! A superb architecture !
SilvianR
NR: ComputerChessWiki - please post this superb chess engine in EnginesList ! THANK YOU !
Sunfish was added to the Chess Engine List on Feb 27.
Ron
The 2-nd of March 2014. Still nothing. A such beautiful engine ! Why ???
SilvianR