ChessUSA.com TalkChess.com
Hosted by Your Move Chess & Games
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

good macintosh guy for UCI engine development
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
Andy Duplain



Joined: 31 Jul 2011
Posts: 40
Location: Waterlooville, Hampshire, UK

PostPost subject: Re: good macintosh guy for UCI engine development    Posted: Thu Jan 26, 2012 10:23 am Reply to topic Reply with quote

micron wrote:
BubbaTough wrote:
I want to see all the UCI traffic.
Are there easy to follow instructions for a dumb manager type (as opposed to a super-star unix programmer)?

Cutechess-cli is an industry standard tool for playing matches (such as for param tuning). It needs little UNIX mumbo-jumbo, and has a handy option [-debug] that shows UCI messaging.
On a Mac you invoke it with cutechess-cli.sh.
Code:
./cutechess-cli.sh  -each tc=40/5 proto=uci -engine cmd=chess_engines/Spandrel -engine cmd=chess_engines/fruit -debug
[ big snip ]
20896 >Spandrel(0): isready
20896 <Spandrel(0): readyok
20896 >Spandrel(0): go wtime 3760 btime 5415 movestogo 33
20899 <Spandrel(0): bestmove b6a6
20899 >Fruit 2.1(1): position startpos moves g1f3 b8c6 e2e3 g8f6 f1e2 d7d5 e1g1 e7e6 b1c3 f8d6 b2b3 e8g8 c1b2 f6e4 c3b5 d6e7 b5d4 c6d4 e3d4 f7f6 d2d3 e4d6 f1e1 d6f5 a1c1 c8d7 c2c4 e7b4 f3d2 c7c6 a2a3 b4d6 g2g3 d8e7 a3a4 d6a3 d1c2 a3b2 c2b2 e7b4 d2f3 a7a5 c1c2 b7b6 e1c1 f8e8 e2f1 d5c4 c2c4 b4e7 f1h3 f5d6 c4c2 e7f7 f3d2 a8d8 b3b4 d8b8 h3g2 e8c8 g2c6 a5b4 b2b4 d7c6 b4d6 f7d7 d6b4 c6d5 c2c8 b8c8 c1c8 d7c8 d2c4 c8c6 b4b5 g8f7 b5c6 d5c6 c4b6 f7e7 a4a5 e7d6 g1f1 d6c7 b6c4 c7b7 f2f4 b7a6 f1e2 a6b5 f4f5 e6f5 c4d6 b5a5 d6f5 g7g6 f5e7 a5b6 g3g4 b6c7 e7g8 f6f5 g8f6 h7h6 g4f5 g6f5 f6g8 h6h5 h2h4 c6d5 g8f6 d5f7 e2e3 c7d6 e3f4 d6e6 f4g5 f5f4 d4d5 e6e7 d5d6 e7d6 g5f4 f7g6 d3d4 d6e6 f4g5 g6f7 f6h5 e6d5 h5f4 d5d4 f4g6 d4e4 g5f6 f7g8 h4h5 e4f3 h5h6 f3g3 f6g7 g8d5 h6h7 g3f2 h7h8q f2e3 h8h4 d5e4 h4g3 e3d4 g3e5 d4e3 e5f4 e3d4 f4d2 d4c4 g6e5 c4c5 d2c3 c5d6 c3d4 d6c7 d4e4 c7d6 e4d4 d6c7 d4c5 c7b7 e5d7 b7a8 c5c6 a8a7 c6b6 a7a8 b6a6
20899 >Spandrel(0): isready
20899 >Fruit 2.1(1): isready
20899 <Spandrel(0): readyok
20899 <Fruit 2.1(1): readyok
Finished game 1 (Spandrel vs Fruit 2.1): 1-0 {White mates}


This is very interesting; I have an almost identical tool called 'cute' that does pretty much the same thing. The name cute came from 'Chimp UCI Test Environment' when I was developing the ill-fated Chimp engine. My tool even logs UCI engine traffic in much the same way i.e. "<engine ..." and ">engine ...". It's amazing how such similarly named and similarly functioning projects have kept on the same path for so long.

Output from cute can be seen in this post.

If the OP is interested I can supply a Mac binary for cute, however it looks to me like the publically available cutechess-cli will perform much the same functionality and is almost certainly better supported (given it's actually been released) Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Subject Author Date/Time
good macintosh guy for UCI engine development Sam Hamilton Wed Jan 25, 2012 2:57 pm
      Re: good macintosh guy for UCI engine development Evert Glebbeek Wed Jan 25, 2012 3:04 pm
            Re: good macintosh guy for UCI engine development Sam Hamilton Wed Jan 25, 2012 5:00 pm
                  Re: good macintosh guy for UCI engine development Evert Glebbeek Wed Jan 25, 2012 8:38 pm
                        Re: good macintosh guy for UCI engine development H.G.Muller Wed Jan 25, 2012 10:19 pm
                              Re: good macintosh guy for UCI engine development Robert Purves Thu Jan 26, 2012 12:58 am
                                    Re: good macintosh guy for UCI engine development H.G.Muller Thu Jan 26, 2012 6:57 am
                                          Re: good macintosh guy for UCI engine development Robert Purves Thu Jan 26, 2012 9:04 am
                                                Re: good macintosh guy for UCI engine development H.G.Muller Thu Jan 26, 2012 9:15 am
      Re: good macintosh guy for UCI engine development H.G.Muller Wed Jan 25, 2012 3:09 pm
            Re: good macintosh guy for UCI engine development Sam Hamilton Wed Jan 25, 2012 5:17 pm
                  Re: good macintosh guy for UCI engine development Miguel A. Ballicora Wed Jan 25, 2012 5:27 pm
                  Re: good macintosh guy for UCI engine development H.G.Muller Wed Jan 25, 2012 5:51 pm
                  Re: good macintosh guy for UCI engine development Robert Purves Thu Jan 26, 2012 6:18 am
                        Re: good macintosh guy for UCI engine development Andy Duplain Thu Jan 26, 2012 10:23 am
                        Re: good macintosh guy for UCI engine development Sam Hamilton Thu Jan 26, 2012 2:30 pm
                              Re: good macintosh guy for UCI engine development Robert Purves Thu Jan 26, 2012 9:55 pm
                                    Re: good macintosh guy for UCI engine development Andy Duplain Fri Jan 27, 2012 7:42 am
                                          Re: good macintosh guy for UCI engine development Evert Glebbeek Fri Jan 27, 2012 8:24 am
                                                Re: good macintosh guy for UCI engine development Sam Hamilton Fri Jan 27, 2012 9:44 am
                                                      Re: good macintosh guy for UCI engine development H.G.Muller Fri Jan 27, 2012 1:19 pm
                                                      Re: good macintosh guy for UCI engine development Andy Duplain Fri Jan 27, 2012 8:04 pm
                                                            Re: good macintosh guy for UCI engine development Robert Purves Fri Jan 27, 2012 10:40 pm
                                                                  Re: good macintosh guy for UCI engine development Sam Hamilton Sat Jan 28, 2012 6:10 am
                                                                        Re: good macintosh guy for UCI engine development Sam Hamilton Mon Jan 30, 2012 8:01 am
                                                Re: good macintosh guy for UCI engine development Andy Duplain Fri Jan 27, 2012 8:06 pm
      Cautionary note Steven Edwards Mon Jan 30, 2012 9:04 am
            Re: Cautionary note H.G.Muller Mon Jan 30, 2012 9:31 am
                  Re: Cautionary note Evert Glebbeek Mon Jan 30, 2012 10:11 am
            Re: Cautionary note Evert Glebbeek Mon Jan 30, 2012 10:08 am
                  Re: Cautionary note Steven Edwards Mon Jan 30, 2012 1:42 pm
                        Re: Cautionary note Jon Dart Mon Jan 30, 2012 5:10 pm
            Re: Cautionary note Ian Osgood Tue Jan 31, 2012 3:00 pm
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group
Enhanced with Moby Threads