A complete 2000 lines of code engine

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

Moderators: hgm, Rebel, chrisw

User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y »

Next release will come this evening, FRC didn't cost strength :D

Here is a little TC 40/20sec TT 256Mb tourney :

Code: Select all

ResultSet-EloRating>Rank Name                  Elo    +    - games score oppo. draws
   1 demolito              146   15   15  1508   73%   -13   30%
   2 Hakkapeliitta          43   14   14  1508   57%    -4   37%
   3 Winter0.7              32   14   14  1508   55%    -3   37%
   4 amoeba                 27   14   13  1508   55%    -3   38%
   5 rodentIII              20   13   14  1507   54%    -2   40%
   6 Winter0.6             -21   14   14  1508   47%     2   35%
   7 igel-2.1              -30   14   14  1508   45%     3   37%
   8 minic_1.14            -36   13   14  1507   44%     3   42%
   9 minic_dev             -38   13   13  1507   44%     3   44%
  10 minic_dev_uci         -39   13   13  1507   44%     4   42%
  11 zurichess-neuchatel   -40   14   14  1508   43%     4   41%
  12 Topple_master         -65   14   14  1508   40%     6   36%
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y »

Here is the first FRC release of Minic : https://github.com/tryingsomestuff/Mini ... s/tag/1.15 :D
User avatar
CMCanavessi
Posts: 1142
Joined: Thu Dec 28, 2017 4:06 pm
Location: Argentina

Re: A complete 2000 lines of code engine

Post by CMCanavessi »

Are you planning to implement ponder support, sooner or later?
Follow my tournament and some Leela gauntlets live at http://twitch.tv/ccls
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y »

CMCanavessi wrote: Sun Dec 08, 2019 8:19 pm Are you planning to implement ponder support, sooner or later?
Well, I must admit I am not a pondering fan. I am more in the "give the engine all the threads" community.

But in fact it is already here, but I still have to check it, I wonder if it's always working well (you will tell me !) ...
In xboard mode, Minic will accept "hard" command and start pondering.
In UCI, it is the same with "ponder" command but ponderhit command is not implemented.

Anyway, the way Minic handles pondering is a little dumb, it searches during opponent time and just don't clean the TT after that ... nothing more ...
User avatar
CMCanavessi
Posts: 1142
Joined: Thu Dec 28, 2017 4:06 pm
Location: Argentina

Re: A complete 2000 lines of code engine

Post by CMCanavessi »

xr_a_y wrote: Sun Dec 08, 2019 8:46 pm
CMCanavessi wrote: Sun Dec 08, 2019 8:19 pm Are you planning to implement ponder support, sooner or later?
Well, I must admit I am not a pondering fan. I am more in the "give the engine all the threads" community.

But in fact it is already here, but I still have to check it, I wonder if it's always working well (you will tell me !) ...
In xboard mode, Minic will accept "hard" command and start pondering.
In UCI, it is the same with "ponder" command but ponderhit command is not implemented.

Anyway, the way Minic handles pondering is a little dumb, it searches during opponent time and just don't clean the TT after that ... nothing more ...
Oh I'm running a tournament and have Minic in UCI mode, and don't see it pondering. I don't even see the option to enable it and thus Arena can't do it either:

id name Minic 1.15
id author Vivien Clauzon
option name level type spin default 100 min 0 max 100
option name Hash type spin default 128 min 0 max 256000
option name threads type spin default 1 min 0 max 256
option name UCI_Chess960 type check default false
Follow my tournament and some Leela gauntlets live at http://twitch.tv/ccls
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y »

CMCanavessi wrote: Sun Dec 08, 2019 8:49 pm
xr_a_y wrote: Sun Dec 08, 2019 8:46 pm
CMCanavessi wrote: Sun Dec 08, 2019 8:19 pm Are you planning to implement ponder support, sooner or later?
Well, I must admit I am not a pondering fan. I am more in the "give the engine all the threads" community.

But in fact it is already here, but I still have to check it, I wonder if it's always working well (you will tell me !) ...
In xboard mode, Minic will accept "hard" command and start pondering.
In UCI, it is the same with "ponder" command but ponderhit command is not implemented.

Anyway, the way Minic handles pondering is a little dumb, it searches during opponent time and just don't clean the TT after that ... nothing more ...
Oh I'm running a tournament and have Minic in UCI mode, and don't see it pondering. I don't even see the option to enable it and thus Arena can't do it either:

id name Minic 1.15
id author Vivien Clauzon
option name level type spin default 100 min 0 max 100
option name Hash type spin default 128 min 0 max 256000
option name threads type spin default 1 min 0 max 256
option name UCI_Chess960 type check default false
In UCI, ponder shall be send by the GUI to the engine using the "go ponder" command (there is no option to check in the engine I think), then the engine send "ponderhit" (which is not implemented by Minic ...). I really have trouble to understand this part of the protocol :oops: : http://wbec-ridderkerk.nl/html/UCIProtocol.html correctly and I don't use Arena myself sorry.

Not pondering shall "only" cost around 60elo to Minic ...
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y »

oops no you are right, I shall use an option for this ... I will ...
User avatar
CMCanavessi
Posts: 1142
Joined: Thu Dec 28, 2017 4:06 pm
Location: Argentina

Re: A complete 2000 lines of code engine

Post by CMCanavessi »

Yep, there is a "ponder" option that tells the GUI if the engine supports the feature or not. I think the ponderhit command is when the opponent makes the move that we anticipated, gui sends ponderhit command that should be taken as "ok, you were right, your time to move, continue search" (or something like that).

Edit: check viewtopic.php?f=7&t=69279
Follow my tournament and some Leela gauntlets live at http://twitch.tv/ccls
Modern Times
Posts: 3546
Joined: Thu Jun 07, 2012 11:02 pm

Re: A complete 2000 lines of code engine

Post by Modern Times »

xr_a_y wrote: Thu Dec 05, 2019 7:10 pm Here is the first FRC release of Minic : https://github.com/tryingsomestuff/Mini ... s/tag/1.15 :D
650 games up on the CCRL FRC ratings list so far:

http://ccrl.chessdom.com/ccrl/404FRC/cg ... _15_64-bit
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y »

Modern Times wrote: Fri Dec 13, 2019 4:25 pm
xr_a_y wrote: Thu Dec 05, 2019 7:10 pm Here is the first FRC release of Minic : https://github.com/tryingsomestuff/Mini ... s/tag/1.15 :D
650 games up on the CCRL FRC ratings list so far:

http://ccrl.chessdom.com/ccrl/404FRC/cg ... _15_64-bit
GREAT news ! :D Thanks so much for testing Minic FRC !!