OliThink 5.4.0 has been published with an big leap in strength for only 3 lines of code

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

OliverBr
Posts: 725
Joined: Tue Dec 18, 2007 9:38 pm
Location: Munich, Germany
Full name: Dr. Oliver Brausch

Re: OliThink 5.4.0 has been published with an big leap in strength for only 3 lines of code

Post by OliverBr »

Dann Corbit wrote: Thu Jun 25, 2020 6:16 pm
OliverBr wrote: Thu Jun 25, 2020 3:22 pm
Dann Corbit wrote: Wed Jun 24, 2020 11:44 am It would be nice if you put your home page link in your sig.
Then old guys like me could remember where to look. :D
Can you please navigate me to the section where I can write my signature?
PS: 5.4.8 is out :)
Step 1:

Step 2:
Ah, it's "User Control Panel": Thank you!
Chess Engine OliThink: http://brausch.org/home/chess
OliThink GitHub:https://github.com/olithink
OliverBr
Posts: 725
Joined: Tue Dec 18, 2007 9:38 pm
Location: Munich, Germany
Full name: Dr. Oliver Brausch

Re: OliThink 5.4.0 has been published with an big leap in strength for only 3 lines of code

Post by OliverBr »

OliThink 5.4.9 is released (http://brausch.org/home/chess).

When self-playing it's a big improvement. I haven't got the time to test against other engines yet.
Chess Engine OliThink: http://brausch.org/home/chess
OliThink GitHub:https://github.com/olithink
OliverBr
Posts: 725
Joined: Tue Dec 18, 2007 9:38 pm
Location: Munich, Germany
Full name: Dr. Oliver Brausch

Re: OliThink 5.4.0 has been published with an big leap in strength for only 3 lines of code

Post by OliverBr »

Question to the community:
Some engine resign when falling under a certain score. I couldn't find a command in the chess engine protocol to tell the engine to resign. Protocol adapters like polyglot support it, but what if no adapters is used?

Is a command line option useful and will it be used? Anyway, if an engine falls under -600 against another engine, it's very over very quick.,,
Chess Engine OliThink: http://brausch.org/home/chess
OliThink GitHub:https://github.com/olithink
OliverBr
Posts: 725
Joined: Tue Dec 18, 2007 9:38 pm
Location: Munich, Germany
Full name: Dr. Oliver Brausch

Re: OliThink 5.4.0 has been published with an big leap in strength for only 3 lines of code

Post by OliverBr »

OliThink 5.4.13 released.
The frist time I changed something with the very simple Hash(TT)Tables. By this way I doubled the memory usage from 48MByte to 96Mbyte 8-)
Chess Engine OliThink: http://brausch.org/home/chess
OliThink GitHub:https://github.com/olithink
Dann Corbit
Posts: 12538
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: OliThink 5.4.0 has been published with an big leap in strength for only 3 lines of code

Post by Dann Corbit »

I'm thinking shared hash is next.
I want to see Olithink mop the floor against the big boys with under 100K of code.
No pressure though.
:twisted:
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
OliverBr
Posts: 725
Joined: Tue Dec 18, 2007 9:38 pm
Location: Munich, Germany
Full name: Dr. Oliver Brausch

Re: OliThink 5.4.0 has been published with an big leap in strength for only 3 lines of code

Post by OliverBr »

Dann Corbit wrote: Fri Jul 03, 2020 10:18 am I'm thinking shared hash is next.
I want to see Olithink mop the floor against the big boys with under 100K of code.
No pressure though.
:twisted:
It's quite difficult to increase strength without expanding code. I omitted a couple of ideas just because they were "too expensive" or "too expansive" :)
Chess Engine OliThink: http://brausch.org/home/chess
OliThink GitHub:https://github.com/olithink
tmokonen
Posts: 1296
Joined: Sun Mar 12, 2006 6:46 pm
Location: Kelowna
Full name: Tony Mokonen

Re: OliThink 5.4.0 has been published with an big leap in strength for only 3 lines of code

Post by tmokonen »

It looks like the links for the Java version are out of date. The site says 5.4.11, but the links point to 5.4.6.
OliverBr
Posts: 725
Joined: Tue Dec 18, 2007 9:38 pm
Location: Munich, Germany
Full name: Dr. Oliver Brausch

Re: OliThink 5.4.0 has been published with an big leap in strength for only 3 lines of code

Post by OliverBr »

tmokonen wrote: Fri Jul 03, 2020 8:19 pm It looks like the links for the Java version are out of date. The site says 5.4.11, but the links point to 5.4.6.
Thank you for the hint. I already corrected this before.
Chess Engine OliThink: http://brausch.org/home/chess
OliThink GitHub:https://github.com/olithink
OliverBr
Posts: 725
Joined: Tue Dec 18, 2007 9:38 pm
Location: Munich, Germany
Full name: Dr. Oliver Brausch

Re: OliThink 5.4.0 has been published with an big leap in strength for only 3 lines of code

Post by OliverBr »

OliThink 5.5.0 has been released today.

Most notable change is the refactoring of time management and parts of the search function.
Chess Engine OliThink: http://brausch.org/home/chess
OliThink GitHub:https://github.com/olithink
OliverBr
Posts: 725
Joined: Tue Dec 18, 2007 9:38 pm
Location: Munich, Germany
Full name: Dr. Oliver Brausch

Re: OliThink 5.4.0 has been published with an big leap in strength for only 3 lines of code

Post by OliverBr »

OliThink plays a decent midgame, but still the endgame is not good yet. In 100 games against Glaurung 2.1 (17.0 to 83.0) OliThink has not won a single endgame. More than half of the games are open until endgame.
Of the 9 times OliThink won, none of them were endgame wins. Example:

[pgn][Event "Computer Chess Game"]
[Site "OliversMacBook2.local"]
[Date "2020.07.05"]
[Round "31"]
[White "OliThink 5.5.0"]
[Black "Glaurung 2.1"]
[Result "1-0"]
[TimeControl "40/60"]
[Annotator "10. +0.05 9... +0.03"]

1. e4 c6 2. d4 d5 3. e5 Bf5 4. Nf3 e6 5. Be3 Ne7 6. Nbd2 Bg6 7. Nh4 Nf5 8.
Nxf5 Bxf5 9. Nf3 Be7 {+0.03/13 1.0} 10. Bd3 {+0.05/12 1.1} Bxd3 {+0.01/14}
11. Qxd3 {+0.07/12 1.4} O-O {-0.05/15} 12. h4 {+0.14/12 1.1} c5
{+0.17/13 1.2} 13. dxc5 {+0.49/11 0.8} Nd7 {+0.25/12 0.3} 14. b4
{+0.74/11 0.7} a5 {+0.60/13 1.8} 15. c3 {+0.79/11 0.6} axb4 {+0.60/13 2.0}
16. cxb4 {+0.36/14 0.4} b6 {+0.47/12 1.1} 17. cxb6 {+0.29/12 0.3} Nxb6
{+0.56/12 1.1} 18. Ke2 {+0.52/11 0.8} Nc4 {+0.90/12 1.2} 19. a3
{+0.83/11 1.0} Ra4 {+0.90/12 0.5} 20. Bd4 {+0.59/11 1.1} Qa8 {+0.68/12 1.2}
21. Ng5 {+0.27/12 0.1} g6 {+0.90/13 0.8} 22. f4 {+0.18/12 1.4} Nxa3
{+1.25/11 0.8} 23. h5 {+0.62/12 1.1} Bxg5 {+1.35/12 0.7} 24. fxg5
{+0.72/11 0.7} Nc4 {+1.37/13 0.3} 25. h6 {+0.40/12 1.0} Ra2+ {+1.54/13 0.8}
26. Rxa2 {+0.54/14 0.5} Qxa2+ {+1.66/14} 27. Kf3 {+0.54/13 0.7} Qa4
{+1.37/14 1.4} 28. Rb1 {+0.77/12 0.8} Rb8 {+1.33/14 1.4} 29. Qc3
{+0.00/14 1.4} Qe8 {+1.29/15} 30. Ra1 {+1.15/12 0.7} Rc8 {+1.11/14 0.2} 31.
Qe1 {+1.14/12 0.7} Qf8 {+0.43/14 2.7} 32. Kg4 {+1.20/12 0.7} Rb8
{+0.54/14 0.8} 33. Bc5 {+1.15/13 0.8} Qd8 {+0.50/15} 34. Kh4 {+1.35/12 0.7}
Rc8 {+0.13/14 0.5} 35. Bd4 {+1.35/13 1.3} Nb6 {+0.00/14 0.9} 36. Qf2
{+1.83/12 0.8} Nd7 {-0.17/15 0.7} 37. b5 {+1.88/14 0.9} Ra8 {-0.90/14 2.0}
38. Rb1 {+1.90/14 2.1} Ra4 {-0.35/13 1.0} 39. g4 {+1.88/15 1.0} Qf8
{-0.90/13 0.2} 40. b6 {+2.19/14 0.9} Rb4 {-1.88/13 0.4} 41. Ra1
{+1.98/12 0.1} Rb5 {-4.33/13 1.5} 42. Ra7 {+3.31/12 0.5} Qe8 {-5.37/14 0.6}
{Black resigns} 1-0
[/pgn]

Analysis by Leela (until move 29 both engines played very well):
29...Qe8? - Very defensive, Leela proposes 29...Ra8!
35...Rc8? - Again, Leele prefers 35...Ra8!
38. Rb1? - This time, white blunders (first time after 38 moves), 38. Ra6 !! is more precise.
41. Ra1! - Dagger thrust. White wins.
Chess Engine OliThink: http://brausch.org/home/chess
OliThink GitHub:https://github.com/olithink