On-line engine blitz tourney September

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Joost Buijs
Posts: 1592
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

On-line engine blitz tourney September

Post by Joost Buijs »

The monthly on-line engine blitz tourney for September will take place on:

Saturday September 14, 2:00 PM EST (Boston time), 20:00 CET (Amsterdam time)

To connect:

winboard -zp -ics -icshost nightmare-chess.nl -icshelper timeseal -fcp ENGINE.exe -fd ENGINEFOLDER -autoKibitz -keepAlive 30

(for UCI engines, add -fUCI)

People without account can submit a request for an account to admin@nightmare-chess.nl

Our tournament manager will be: Eendje (Lisebeth @ ICC)

The format will be: 9 rounds Swiss 5/1

Lisebeth likes to start the tournament on top of the hour, please try to be on-line 15 minutes prior to tournament start, late joins are not supported.
CRoberson
Posts: 2071
Joined: Mon Mar 13, 2006 2:31 am
Location: North Carolina, USA

Re: On-line engine blitz tourney September

Post by CRoberson »

I am broadcasting some of the tournament games live on
Joost Buijs
Posts: 1592
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: On-line engine blitz tourney September

Post by Joost Buijs »

The tournament finished without problems, only Henk (Skipper) had some protocol errors, but nothing serious.
rofChade and WaspX both ended on top, when looking at his performance rating it seems that Wasp improved a lot.

Code: Select all

:Tourney Players: Round 9 of 9 
:
:     Name              Rating Score Perfrm Upset  Results 
:     ----------------- ------ ----- ------ ------ ------- 
:  1 +rofChade          [2945]  7.0  [2975] [  20] +13w +08w +06b =05w =04b =02w =03b +09w +11b 
:  2 +WaspX             [2856]  7.0  [2978] [ 145] +15w +09w =03b =04w +05b =01b +06w +11w =08b 
:  3 +BelFish           [2985]  6.0  [2892] [   0] =12b =06b =02w +10w +08b +11w =01w =04b =05w 
:  4 +LeelaRB           [2826]  6.0  [2840] [ 186] +17w +10w =08b =02b =01w +15b =05w =03w =06b 
:  5 +NightmareX        [2893]  5.5  [2833] [  72] +07w +11w +12b =01b -02w =06w =04b =08w =03b 
:  6 +Marvin            [2806]  5.5  [2770] [ 142] +14b =03w -01w +07b +09w =05b -02b +12w =04w 
:  7 +Ares              [2331]  5.5  [2442] [ 112] -05b +18w =10b -06w +17b -09b +16w +19b +14w 
:  8 -Goldbar           [2800]  5.0  [2708] [  87] +16w -01b =04w +14b -03w +12w =09b =05b =02w
:  9 +atomGoldbar       [2592]  5.0  [2565] [ 150] +19w -02b +17w =11b -06b +07w =08w -01b +15w 
: 10 +TheBaron          [2556]  5.0  [2375] [   0] +20w -04b =07w -03b +14w +16b -11b =13w +19w 
: 11 +atomNightmare     [2685]  4.5  [2610] [   0] +18w -05b +15w =09w +12b -03b +10w -02b -01w 
: 12 +Protej            [2469]  4.5  [2513] [ 258] =03w +13b -05w +16b -11w -08b +15w -06b +20b 
: 13 +Viper             [2337]  4.5  [2228] [ 109] -01b -12w +20b +17w -15w -14b +19w =10b +18b 
: 14 +atomFloyd         [2234]  4.5  [2316] [ 121] -06w =16b +18b -08w -10b +13w +20b +17w -07b 
: 15 +CTdccc            [2274]  4.0  [2299] [  63] -02b +19w -11b +18w +13b -04w -12b +20w -09b 
: 16 +Prophet           [2179]  4.0  [2174] [  63] -08b =14w +19b -12w +20b -10w -07b +18w =17b
: 17 +Nameless          [2252]  3.5  [2114] [   0] -04b +20w -09b -13b -07w +19b +18w -14b =16w 
: 18 +Skiull            [1928]  2.0  [1965] [   0] -11b -07b -14w -15b +19w +20w -17b -16b -13w 
: 19 +atomSargon        [1743]  0.5  [1878] [   0] -09b -15b -16w =20w -18b -17w -13b -07w -10b 
: 20 -Skipper           [1658]  0.5  [1863] [  42] -10b -17b -13w =19b -16w -18b -14w -15b -12w 
:
:     Average Rating    2467.4
Thanks Charles for broadcasting some of the games live on internet!

I hope to see you all next time!
Henk
Posts: 7230
Joined: Mon May 27, 2013 10:31 am

Re: On-line engine blitz tourney September

Post by Henk »

4772 <first : move d2d4
4772 >second: time 3000
4772 >second: otim 2889
book hit = (NULL)
4772 >second: d2d4
4772 >second: black
4772 >second: go

See now this happens when Skipper plays against fairy-max with black.
According to the protocol 'go' command should not be given. After d2d4 Skipper starts thinking resulting in a move for black. But then it gets a 'go' command and Skipper will produce the next move but now for white. Which is illegal. So it crashes.

When I change this and let Skipper only produce moves after a go command then Skipper won't move with black in the monthly tournament where extra go commands are not issued. Conform the protocol.
Ras
Posts: 2557
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: On-line engine blitz tourney September

Post by Ras »

Henk wrote: Sat Sep 14, 2024 10:44 pmWhen I change this and let Skipper only produce moves after a go command then Skipper won't move with black in the monthly tournament where extra go commands are not issued. Conform the protocol.
Do you keep track of the FORCE status? If that is given, the engine must not move by itself so that you can transmit position/movelist like in UCI and then wait for a GO.
Rasmus Althoff
https://www.ct800.net
Joost Buijs
Posts: 1592
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: On-line engine blitz tourney September

Post by Joost Buijs »

Henk wrote: Sat Sep 14, 2024 10:44 pm 4772 <first : move d2d4
4772 >second: time 3000
4772 >second: otim 2889
book hit = (NULL)
4772 >second: d2d4
4772 >second: black
4772 >second: go

See now this happens when Skipper plays against fairy-max with black.
According to the protocol 'go' command should not be given. After d2d4 Skipper starts thinking resulting in a move for black. But then it gets a 'go' command and Skipper will produce the next move but now for white. Which is illegal. So it crashes.

When I change this and let Skipper only produce moves after a go command then Skipper won't move with black in the monthly tournament where extra go commands are not issued. Conform the protocol.
Henk,

I wish that I could be of some help, but my knowledge about CECP is zero.

Why don't you implement UCI? UCI is stateless and therefore easier to implement.
Most GUI use UCI anyway, and you can use Winboard with UCI2WB or Polyglot in between.
Just my two cents.

Joost
Henk
Posts: 7230
Joined: Mon May 27, 2013 10:31 am

Re: On-line engine blitz tourney September

Post by Henk »

Maybe this is a work around. When it gets a 'go' command the 'side to move' is always white. So that means if Skipper gets a go command while it is playing with black it won't move for ''the side to move' is set white but only sets the mode to 'thinking' or 'move' (or what is in the name). So skipper will play when it is its turn.
Henk
Posts: 7230
Joined: Mon May 27, 2013 10:31 am

Re: On-line engine blitz tourney September

Post by Henk »

O wait that won't work. It now also always has to move when it gets a valid user move.
Ugly. And inefficient.

Code: Select all

                 if (IsUserMove(cmd))
                 {
                          HandelUserMove(gameService, cmd, inputStr, game);
			var humanPlayer = IsHumanPlayer(game.CurPlayer.Player);
			if (humanPlayer)
			{
				game.GamePlayers = ReplaceCurrentPlayerByRobotPlayer(game, RobotGamePlayer);

			}
			mode = MOVE;
		}
Looks like it changes players all the time.
Henk
Posts: 7230
Joined: Mon May 27, 2013 10:31 am

Re: On-line engine blitz tourney September

Post by Henk »

No still crashes. Maybe this is the only change needed. Test if mode is idle or only change first player at first move.

Code: Select all

Mode HandelGoCommand(Mode mode, IGame game, string inputStr)
{
    if (GoPerft(inputStr))
    {
  
    }
    else
    {
		if (mode == Mode.IDLE)
		{
			game.GamePlayers = ReplaceFirstPlayerByRobotPlayer(game, RobotGamePlayer);
			mode = MOVE;
		}

    }
    return mode;
}
Sunday is a rest day. So I quit