CCWiki - two new engines etc.

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Daniel White
Posts: 33
Joined: Wed Mar 07, 2012 4:15 pm
Location: England

Re: CCWiki - two new engines etc.

Post by Daniel White »

velmarin wrote:In Linux Robocide compiles fine, how Marek said.

My experience with Linux is very little, and try if I am able to cross compile.
Looking forward to see how works the engine by Daniel White.

To compile on Windows with Intel Compiler, I had to add the "strtok_r" and "getline", relocate any statement, ect.
The problem comes with "GetTimeMS"
I've added an implementation of strtok_r and removed the usage of getline, these should no longer be a problem. Fixing GetTimeMS (which is now GetTimeUS as it happens) is a bit more tricky. I haven't spent much time looking but so far I've struggled to find a suitably precise Windows replacement to gettimeofday - without man pages its hard to find direct and precise answers (and answers which aren't for C++...). Perhaps I'll take a look at how other engines do it.

I have also fixed the bug in ucioption.c, thank you Tony for pointing it out.

Daniel
User avatar
velmarin
Posts: 1600
Joined: Mon Feb 21, 2011 9:48 am

Re: CCWiki - two new engines etc.

Post by velmarin »

Daniel White wrote:
I have also fixed the bug in ucioption.c, thank you Tony for pointing it out.

Daniel
Thank you, Daniel.
They were just comments.

His work was well done.
Ron Murawski
Posts: 397
Joined: Sun Oct 29, 2006 4:38 am
Location: Schenectady, NY

Re: CCWiki - two new engines etc.

Post by Ron Murawski »

Daniel White wrote:I've struggled to find a suitably precise Windows replacement to gettimeofday - without man pages its hard to find direct and precise answers (and answers which aren't for C++...). Perhaps I'll take a look at how other engines do it.

Daniel
For precise timing on Windows you can use
QueryPerformanceCounter()
and
QueryPerformanceFrequency()

Ron
Norbert Raimund Leisner
Posts: 1643
Joined: Tue May 20, 2008 4:57 pm
Location: Augsburg - Germany

Re: CCWiki - two new engines etc.

Post by Norbert Raimund Leisner »

http://tmokonen.net84.net/

it seems that Robocide (bugfix) runs normally under Arena http://www.playwitharena.com/ and ChessGUI http://biglion.bplaced.net/ , but does not execute any moves with the following interfaces under UCI-protocol :

Scid vs. PC 4.11 http://sourceforge.net/projects/scidvspc/files/
WinBoard 4.7.3.a http://www.open-aurec.com/wbforum/viewt ... 19&t=51528


Norbert