Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: stefans autoplayer code is chrystal clear: even non-programmers...

Author: Mark Young

Date: 13:35:02 11/15/98

Go up one level in this thread


On November 15, 1998 at 14:09:07, Thorsten Czub wrote:

>It was said chessBase used the stefan meyer-kahlen
>autoplayer code to implement the win95 autoplayer in
>fritz/junior.
>
>
>BUT: the code is chrystal clear and shows , even understandable for NON
>programmers, in which order the implementation has to be done.
>
>Don't let anybody out of the chessbase faction confuse you here, that
>implementing it is a NON-trivial job.
>it is a trivial job.

I did not know Ed was part of the chessbase faction. I guess in the last few
hours you became an expert after telling me you knew nothing.

>
>This is the Meyer-Kahlen source documentation for the auto232 windows
>operation. Note the section below specifically says
>
>1. Savegame
>2. Newgame
>
>in that order.
>
>To have swapped the order round (as is being claimed) would presumably
>require a specific intention to do so within the code and by the progammer.
>
>
>//--------------------------------------------------------------------------
>//- If the chess-programm is the master it can stop the current game by    -
>//- calling this function. The call triggers a Save-Game and, if not       -
>//- not all games have been played, a Newgame Messages to both programmes. -
>//- Note1: Your chess programm should call this function at the end of a   -
>//-       game (if it is the master). Otherwise the driver waits TimeOut   -
>//-       seconds till he triggers on its own these events.                -
>//- Note2: Your chess programm does not need to save the game and call     -
>//-        newgame by its own. The driver sends these messages to the      -
>//-        chess-programm anyway.                                          -
>//--------------------------------------------------------------------------
>int
>Auto232NextGame(void)
>{
>   static unsigned char packet[5];
>
>#ifdef RTEST
>   AppendToAuto232Log("##nextgame",false);
>   if (!Auto232Master) AppendToAuto232Log(" - not sent, not master.",true);
>   else if (!Auto232HandShake) AppendToAuto232Log(" - not sent, not
>handshaken.",true);
>#endif
> Auto232MoveNum= 0;
>
>   if((Auto232Master)&&(Auto232HandShake))
>  { // Only Master can cancel a game.
>      SetEvent(hFakeTimeout);
>      return TRUE;
>   }
>
>   return FALSE;
>}
>
>
>So far the facts !
>
>I am sure the other side will further try to confuse and to hide that
>it was done by failure...

The only side that is confuse is you, if you think this shows cheating on Junior
5's part.

>
>
>but the facts remain the same.

Right, you think that Junior 5's autoplayer has a bug, but you don't know if it
is causing the other program not to learn.

Your still on the first page here Thorsten, I hope this is going to be a short
story, because at your pace we will be talking about Fritz 10, aad Junior 10,
and you will still be trying to finish this story.


>
>have a nice
>weekend.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.