3000 ELO Engine with Minimal Code?

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
Steve Maughan
Posts: 1273
Joined: Wed Mar 08, 2006 8:28 pm
Location: Florida, USA

3000 ELO Engine with Minimal Code?

Post by Steve Maughan »

What's the name of the engine that made it to 3000 ELO with minimal code — maybe 2,500 lines of code? It was probably released in the last four years. I can't remember the name — any pointer appreciated.

Steve
http://www.chessprogramming.net - Juggernaut & Maverick Chess Engine
Ciekce
Posts: 192
Joined: Sun Oct 30, 2022 5:26 pm
Full name: Conor Anstey

Re: 3000 ELO Engine with Minimal Code?

Post by Ciekce »

Steve Maughan wrote: Mon Oct 16, 2023 10:37 pm What's the name of the engine that made it to 3000 ELO with minimal code — maybe 2,500 lines of code? It was probably released in the last four years. I can't remember the name — any pointer appreciated.

Steve
Akimbo meets this requirement, and it's quite a bit above 3k elo now - but you are perhaps thinking of OliThink.
User avatar
Steve Maughan
Posts: 1273
Joined: Wed Mar 08, 2006 8:28 pm
Location: Florida, USA

Re: 3000 ELO Engine with Minimal Code?

Post by Steve Maughan »

Ciekce wrote: Mon Oct 16, 2023 11:19 pm Akimbo meets this requirement, and it's quite a bit above 3k elo now - but you are perhaps thinking of OliThink.
Akimbo wasn't what I was thinking of but does look interesting. Unfortunately it doesn't seem to work in the Shredder GUI for Windows :(

Steve
http://www.chessprogramming.net - Juggernaut & Maverick Chess Engine
User avatar
emadsen
Posts: 440
Joined: Thu Apr 26, 2012 1:51 am
Location: Oak Park, IL, USA
Full name: Erik Madsen

Re: 3000 ELO Engine with Minimal Code?

Post by emadsen »

Erik Madsen | My C# chess engine: https://www.madchess.net
JacquesRW
Posts: 127
Joined: Sat Jul 30, 2022 12:12 pm
Full name: Jamie Whiting

Re: 3000 ELO Engine with Minimal Code?

Post by JacquesRW »

Steve Maughan wrote: Tue Oct 17, 2023 1:49 am
Ciekce wrote: Mon Oct 16, 2023 11:19 pm Akimbo meets this requirement, and it's quite a bit above 3k elo now - but you are perhaps thinking of OliThink.
Akimbo wasn't what I was thinking of but does look interesting. Unfortunately it doesn't seem to work in the Shredder GUI for Windows :(

Steve
Can you send any details about the issue? akimbo has never had issues with any other GUIs, and I don’t have a copy of Shredder.

EDIT: If you’re using a release version of akimbo, i didnt add stop support until after the latest release (for the purposes of staying <1000 lines of code), compiling the current master is simple enough though.
User avatar
Steve Maughan
Posts: 1273
Joined: Wed Mar 08, 2006 8:28 pm
Location: Florida, USA

Re: 3000 ELO Engine with Minimal Code?

Post by Steve Maughan »

Hi — happy to help. I’ll send over a debug file. If I had to guess the problem is most likely assuming the FEN has a fixed number of fields. I’ll send the debug once I’m back at the computer

Steve
http://www.chessprogramming.net - Juggernaut & Maverick Chess Engine
User avatar
Steve Maughan
Posts: 1273
Joined: Wed Mar 08, 2006 8:28 pm
Location: Florida, USA

Re: 3000 ELO Engine with Minimal Code?

Post by Steve Maughan »

JacquesRW wrote: Wed Oct 18, 2023 12:32 am Can you send any details about the issue? akimbo has never had issues with any other GUIs, and I don’t have a copy of Shredder.

EDIT: If you’re using a release version of akimbo, i didnt add stop support until after the latest release (for the purposes of staying <1000 lines of code), compiling the current master is simple enough though.
Hi,

Here's the debug output from the Shredder GUI. The engine didn't produce any analysis at all:

Code: Select all

Thu Oct 19 11:28:11 2023:   to Deep Shredder 13 (0): debug on
Thu Oct 19 11:28:11 2023: from Deep Shredder 13 (0): unknown command: debug
Thu Oct 19 11:28:20 2023:   to Deep Shredder 13 (0): quit
Thu Oct 19 11:28:20 2023:   to akimbo 0.6.0 (0): uci
Thu Oct 19 11:28:20 2023:   to akimbo 0.6.0 (0): debug on
Thu Oct 19 11:28:20 2023: from akimbo 0.6.0 (0): akimbo, created by Jamie Whiting
Thu Oct 19 11:28:20 2023: from akimbo 0.6.0 (0): id name akimbo 0.6.0
Thu Oct 19 11:28:20 2023: from akimbo 0.6.0 (0): id author Jamie Whiting
Thu Oct 19 11:28:20 2023: from akimbo 0.6.0 (0): option name Threads type spin default 1 min 1 max 1
Thu Oct 19 11:28:20 2023: from akimbo 0.6.0 (0): option name Hash type spin default 16 min 1 max 1024
Thu Oct 19 11:28:20 2023: from akimbo 0.6.0 (0): option name Clear Hash type button
Thu Oct 19 11:28:20 2023: from akimbo 0.6.0 (0): uciok
Thu Oct 19 11:28:22 2023:   to akimbo 0.6.0 (0): setoption name Hash value 1024
Thu Oct 19 11:28:22 2023:   to akimbo 0.6.0 (0): isready
Thu Oct 19 11:28:22 2023: from akimbo 0.6.0 (0): readyok
Thu Oct 19 11:28:22 2023:   to akimbo 0.6.0 (0): isready
Thu Oct 19 11:28:22 2023: from akimbo 0.6.0 (0): readyok
Thu Oct 19 11:28:28 2023:   to akimbo 0.6.0 (0): ucinewgame
Thu Oct 19 11:28:28 2023:   to akimbo 0.6.0 (0): isready
Thu Oct 19 11:28:28 2023: from akimbo 0.6.0 (0): readyok
Thu Oct 19 11:28:28 2023:   to akimbo 0.6.0 (0): position startpos moves e2e4
Thu Oct 19 11:28:28 2023:   to akimbo 0.6.0 (0): go infinite
I hope this helps!

— Steve
http://www.chessprogramming.net - Juggernaut & Maverick Chess Engine
User avatar
Ajedrecista
Posts: 2100
Joined: Wed Jul 13, 2011 9:04 pm
Location: Madrid, Spain.

Re: 3000 Elo engine with minimal code?

Post by Ajedrecista »

Hello Steve:
Steve Maughan wrote: Mon Oct 16, 2023 10:37 pm What's the name of the engine that made it to 3000 ELO with minimal code — maybe 2,500 lines of code? It was probably released in the last four years. I can't remember the name — any pointer appreciated.

Steve
Minic and OliThink seem good candidates regarding the Elo condition if we look at CCRL 40/4 rating list, as well as the date release condition. They were suggested before in this thread.

4ku is a bit below in Elo (v3.0 at 2920 Elo right now), but fits more than enough in the lines of code condition.

ice4 won TCEC 4k event 1, including 10-2 (+8 =4 -0) over 4ku v1.0. It is probably a different engine that iCE 4.0. Anyway, winning 10-2 against an engine that was around 2600 Elo at that time is quite an indicator and probably on par with current 4ku v3.1, though only 12 games were played between them; ice4 also fits the lines of code condition, of course.

I have been searching other candidates without success or a clear veredict, mostly due to more lines of code than 2,500. Any help is welcome. Good luck with your request!

Regards from Spain.

Ajedrecista.
Chessqueen
Posts: 5685
Joined: Wed Sep 05, 2018 2:16 am
Location: Moving
Full name: Jorge Picado

Re: 3000 Elo engine with minimal code?

Post by Chessqueen »

Ajedrecista wrote: Thu Oct 19, 2023 8:03 pm Hello Steve:
Steve Maughan wrote: Mon Oct 16, 2023 10:37 pm What's the name of the engine that made it to 3000 ELO with minimal code — maybe 2,500 lines of code? It was probably released in the last four years. I can't remember the name — any pointer appreciated.

Steve
Minic and OliThink seem good candidates regarding the Elo condition if we look at CCRL 40/4 rating list, as well as the date release condition. They were suggested before in this thread.

4ku is a bit below in Elo (v3.0 at 2920 Elo right now), but fits more than enough in the lines of code condition.

ice4 won TCEC 4k event 1, including 10-2 (+8 =4 -0) over 4ku v1.0. It is probably a different engine that iCE 4.0. Anyway, winning 10-2 against an engine that was around 2600 Elo at that time is quite an indicator and probably on par with current 4ku v3.1, though only 12 games were played between them; ice4 also fits the lines of code condition, of course.

I have been searching other candidates without success or a clear veredict, mostly due to more lines of code than 2,500. Any help is welcome. Good luck with your request!

Regards from Spain.

Ajedrecista.
I was wondering if Minic and OliThink can last at least 45 moves against the latest stockfish ?CCRL 40/4 rating list,
JacquesRW
Posts: 127
Joined: Sat Jul 30, 2022 12:12 pm
Full name: Jamie Whiting

Re: 3000 ELO Engine with Minimal Code?

Post by JacquesRW »

Steve Maughan wrote: Thu Oct 19, 2023 5:32 pm
JacquesRW wrote: Wed Oct 18, 2023 12:32 am Can you send any details about the issue? akimbo has never had issues with any other GUIs, and I don’t have a copy of Shredder.

EDIT: If you’re using a release version of akimbo, i didnt add stop support until after the latest release (for the purposes of staying <1000 lines of code), compiling the current master is simple enough though.
Hi,

Here's the debug output from the Shredder GUI. The engine didn't produce any analysis at all:

Code: Select all

Thu Oct 19 11:28:11 2023:   to Deep Shredder 13 (0): debug on
Thu Oct 19 11:28:11 2023: from Deep Shredder 13 (0): unknown command: debug
Thu Oct 19 11:28:20 2023:   to Deep Shredder 13 (0): quit
Thu Oct 19 11:28:20 2023:   to akimbo 0.6.0 (0): uci
Thu Oct 19 11:28:20 2023:   to akimbo 0.6.0 (0): debug on
Thu Oct 19 11:28:20 2023: from akimbo 0.6.0 (0): akimbo, created by Jamie Whiting
Thu Oct 19 11:28:20 2023: from akimbo 0.6.0 (0): id name akimbo 0.6.0
Thu Oct 19 11:28:20 2023: from akimbo 0.6.0 (0): id author Jamie Whiting
Thu Oct 19 11:28:20 2023: from akimbo 0.6.0 (0): option name Threads type spin default 1 min 1 max 1
Thu Oct 19 11:28:20 2023: from akimbo 0.6.0 (0): option name Hash type spin default 16 min 1 max 1024
Thu Oct 19 11:28:20 2023: from akimbo 0.6.0 (0): option name Clear Hash type button
Thu Oct 19 11:28:20 2023: from akimbo 0.6.0 (0): uciok
Thu Oct 19 11:28:22 2023:   to akimbo 0.6.0 (0): setoption name Hash value 1024
Thu Oct 19 11:28:22 2023:   to akimbo 0.6.0 (0): isready
Thu Oct 19 11:28:22 2023: from akimbo 0.6.0 (0): readyok
Thu Oct 19 11:28:22 2023:   to akimbo 0.6.0 (0): isready
Thu Oct 19 11:28:22 2023: from akimbo 0.6.0 (0): readyok
Thu Oct 19 11:28:28 2023:   to akimbo 0.6.0 (0): ucinewgame
Thu Oct 19 11:28:28 2023:   to akimbo 0.6.0 (0): isready
Thu Oct 19 11:28:28 2023: from akimbo 0.6.0 (0): readyok
Thu Oct 19 11:28:28 2023:   to akimbo 0.6.0 (0): position startpos moves e2e4
Thu Oct 19 11:28:28 2023:   to akimbo 0.6.0 (0): go infinite
I hope this helps!

— Steve
Which binary did you download? And what cpu do you have?

It looks like you downloaded a binary not compatible with your cpu, and so it encounters an illegal instruction (most likely SIMD related) when you start search.