New Version: Kurt 0.9.2 beta

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

Moderators: hgm, Rebel, chrisw

User avatar
OliverUwira
Posts: 170
Joined: Mon Sep 13, 2010 9:57 am
Location: Frankfurt am Main

New Version: Kurt 0.9.2 beta

Post by OliverUwira »

Hello all,

this is an extensively bugfixed version of Kurt. I'll be playing a tourney for the rest of the week and won't be online such I just take the opportunity to make the new version available, even though it might be a bit early.

http://home.arcor.de/steve-o13/kurt/kurt_0_9_2_beta.zip

The archive contains the source code, my ancient logo and binaries for 32 and 64 bit (Windows only).

Changes compared to version 0.9 beta released a couple of weeks ago are:
  • All UCI commands implemented, i.e. even all restrictions (nodes, time, searchmoves ...)
  • Native WinBoard support in addition to UCI (might still have the occasional issue, as I was completely new to WinBoard.
  • A lot of bugfixes
  • Source code put under GPL
The following UCI options are available:
  • Hash (UCI standard, configures transposition table size)
  • Eval_Cash_MB (configures evaluation cache size)
  • Pawn_Info_Cache_MB (configures pawn evaluation cache size)
  • Clear Hash (name says all)
  • Ponder (useless, but tells GUI that engine is able to ponder)
  • MultiPV (configures multi pv mode, up to 10, but not tested recently)
  • FEN_Version (probably useless, because it can be inferred from the GUI input; Dialects: Standard, Arena, Chess960 and X-FEN
  • UCI_ShowCurrLine (UCI standard, sends current line in search tree)
  • UCI_Chess960 (useless, but tells GUI that engine is able to play Chess960)
  • Info_Depth (shuts up the engine until configured iteration depth is reached; PV will be sent anyway)
The following XBoard features are used: ping, setboard, usermove, draw, reuse, analyze, nps, debug, memory; option Debug=1 will cause the engine to send tree statistics and time allocation info (as does "debug on" under UCI).
User avatar
Graham Banks
Posts: 41416
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: New Version: Kurt 0.9.2 beta

Post by Graham Banks »

Thanks Kurt. Looking forward to trying it out. :P

Cheers,
Graham.
gbanksnz at gmail.com
swami
Posts: 6640
Joined: Thu Mar 09, 2006 4:21 am

Re: New Version: Kurt 0.9.2 beta

Post by swami »

Image

https://sites.google.com/site/strategic ... sts-1---12
1300 Positions
10 seconds per position
Hardware: Q6600, 32 bits, 2 GB RAM, 2.4 GHZ. Arena 2.01 GUI.
User avatar
OliverUwira
Posts: 170
Joined: Mon Sep 13, 2010 9:57 am
Location: Frankfurt am Main

Re: New Version: Kurt 0.9.2 beta

Post by OliverUwira »

Here is an update that fixes the time loss bug and another howler discovered recently.

http://home.arcor.de/steve-o13/kurt/kur ... update.zip

@Swaminathan

Many thanks for the test suite run. I hope Kurt will score better soon.
User avatar
Jim Ablett
Posts: 1383
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New Version: Kurt 0.9.2 beta

Post by Jim Ablett »

Hi Oliver,

When I start Kurt in Arena (uci mode) it plays moves for other side.

Jim.
User avatar
OliverUwira
Posts: 170
Joined: Mon Sep 13, 2010 9:57 am
Location: Frankfurt am Main

Re: New Version: Kurt 0.9.2 beta

Post by OliverUwira »

[deleted]
Last edited by OliverUwira on Wed Oct 20, 2010 12:12 pm, edited 1 time in total.
User avatar
OliverUwira
Posts: 170
Joined: Mon Sep 13, 2010 9:57 am
Location: Frankfurt am Main

Re: New Version: Kurt 0.9.2 beta

Post by OliverUwira »

Hi Jim,

I've already received a PM about this by another forum user but I really can't understand what's wrong. I've just downloaded the archive and did a test from the command line:

Code: Select all

V:\Dateien\Diverses\kurt_0_9_2_beta\kurt_0_9_2_beta>kurt_0_9_2_beta_x86.exe
uci
id name Kurt 0.9.2
id author Oliver Uwira
option name Hash type spin default 128 min 1 max 8192
option name Eval_Cache_MB type spin default 3 min 1 max 8192
option name Pawn_Info_Cache_MB type spin default 1 min 1 max 8192
option name Clear_Hash type button
option name Ponder type check default true
option name MultiPV type spin default 1 min 1 max 10
option name FEN_Version type combo var Standard var X-FEN var Chess960 var Arena default Standard
option name UCI_ShowCurrLine type check default false
option name UCI_Chess960 type check default false
option name Info_Depth type spin default 1 min 1 max 64
uciok
isready
readyok
setoption name Info_Depth value 30
isready
readyok
position startpos
go wtime 200000
info score cp 52 depth 1 nodes 20 time 0 pv b1c3
info score cp 30 depth 2 nodes 76 time 16 pv b1c3 d7d5
info score cp 50 depth 3 nodes 177 time 16 pv b1c3 d7d5 g1f3
info score cp 23 depth 4 nodes 1459 time 32 pv b1c3 d7d5 g1f3 c8f5
info score cp 32 depth 5 nodes 2230 time 32 pv b1c3 d7d5 d2d4 c8f5 c1f4
info score cp 23 depth 6 nodes 8391 time 79 pv b1a3 d7d5 g1f3 c8f5 f3d4 f5e4
info score cp 32 depth 7 nodes 16144 time 110 pv b1c3 d7d5 d2d4 c8f5 c1f4 b8c6 g1f3
info score cp 17 depth 8 nodes 102110 time 250 pv e2e4 b8c6 b1c3 g8f6 f1c4 e7e5 g1f3 f8c5
info score cp 25 depth 9 nodes 150350 time 313 pv e2e4 b8c6 b1c3 g8f6 f1d3 e7e5 g1f3 f8c5 e1g1
info score cp 16 depth 10 nodes 231342 time 422 pv e2e4 b8c6 b1c3 g8f6 g1f3 d7d5 e4d5 f6d5 f1d3 c8g4
info score cp 23 depth 11 nodes 331258 time 563 pv e2e4 b8c6 b1c3 g8f6 g1f3 d7d5 e4d5 f6d5 f1b5 c8f5 e1g1
info score cp 16 depth 12 nodes 758359 time 1110 pv e2e4 b8c6 b1c3 g8f6 g1f3 d7d5 e4d5 f6d5 d2d4 c8f5 f1d3 e7e6
info score cp 21 depth 13 nodes 1153127 time 1610 pv e2e4 b8c6 b1c3 g8f6 g1f3 e7e5 d2d4 e5d4 f3d4 f8c5 c1e3 c6d4 e3d4
info score cp 13 depth 14 nodes 4309291 time 5438 pv e2e4 e7e5 b1c3 g8f6 g1f3 b8c6 d2d4
bestmove e2e4 ponder e7e5
Could you please post the UCI interaction from the debug window as well? If you set Info_Depth to a high value, the window won't get spammed (as in you see in the console example).

Also, does anybody have a pointer for me as to what might be wrong? I don't see this error when testing with Arena 2.0.1 at home.
User avatar
Jim Ablett
Posts: 1383
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New Version: Kurt 0.9.2 beta

Post by Jim Ablett »

Try testing using x moves in y mins TC. I think this is where the bug is.

Jim.
User avatar
OliverUwira
Posts: 170
Joined: Mon Sep 13, 2010 9:57 am
Location: Frankfurt am Main

Re: New Version: Kurt 0.9.2 beta

Post by OliverUwira »

You caught me. :oops: That is really evil, the abyss of the C standard library...

Ok, I can't test it now (no compiler at hand) but if you'd like to fix it right away, in the file uci.c, line 110

if(!strncmp(cmd, uci

Code: Select all

, [b]strlen(uci[code][/b])))

is the culprit...

  if(!strcmp(cmd, uci[code]))

should fix the problem.
User avatar
Jim Ablett
Posts: 1383
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New Version: Kurt 0.9.2 beta

Post by Jim Ablett »

OliverUwira wrote:You caught me. :oops: That is really evil, the abyss of the C standard library...

Ok, I can't test it now (no compiler at hand) but if you'd like to fix it right away, in the file uci.c, line 110

if(!strncmp(cmd, uci

Code: Select all

, [b]strlen(uci[code][/b])))

is the culprit...

  if(!strcmp(cmd, uci[code]))

should fix the problem.[/quote]


That fixes it!  :) 

Jim.