Is chess programming now boring ???

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

laurietunnicliffe
Posts: 22
Joined: Wed Nov 17, 2021 1:19 am
Full name: Laurie Tunnicliffe

Is chess programming now boring ???

Post by laurietunnicliffe »

It seems I find myself looking at the list of entries here from back to front. From the oldest to the newest.
This is because all the "juicy stuff" was being invented/tested/implemented all that time ago.
It somehow seems more thrilling to have an idea, implement it, and test it, than to just rely on a neural network
to learn patterns. And of course, you can now just look up StockFish to see how everything is done.
I'm afraid, I have missed the golden age of chess development (although I did buy a lot of tabletop chess computers in their hay day).
I suppose now that chess computers are so far ahead of humans, there is not a lot to be gained. But I guess people will continue and try to "solve chess".
I could get more excited by trying to write more efficient code or more compact code or better algorithms even if the playing strength is not improved.
Anyhow, that's how I see it.
How about you ?
smatovic
Posts: 2798
Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic

Re: Is chess programming now boring ???

Post by smatovic »

my 2cents...

The Next Big Thing in Computer Chess?
viewtopic.php?t=81858

Fruit fly races on steroids?
viewtopic.php?t=83267

--
Srdja
op12no2
Posts: 505
Joined: Tue Feb 04, 2014 12:25 pm
Full name: Colin Jenkins

Re: Is chess programming now boring ???

Post by op12no2 »

Now and again chess players in General Topics ask for less super-human and more interesting (playing style) programs to have some fun with. CCRL has divisions that can accommodate such programs; so you get the best of both worlds. ELO being just one dimension; there are others kinda-thing. May be worth a poll?

I would guess that creating such a program can be challenging and rewarding if you set yourself some constraints to work within. For example: never looking at any other code (and maybe also the wiki), no overt evaluation function as such - it's all done incrementally with the hash update etc., minimum executable size, develop a syntax so players can define their own evaluation function to play around with, no searching (e.g. just super-fast random playouts, tiny net, fun 'personalities' like moving everything towards to opponents king or the opposite, no tuning automation, etc.
User avatar
hgm
Posts: 27931
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Is chess programming now boring ???

Post by hgm »

The problem I have with it is that "chess programming" for top-tier programs is no longer programming. It has become data analysis, using standard software, which you sometimes can configure to better fulfil you needs.

But there still can be programming challenges in areas where no 'big data' is available. E.g. in chess variants, where there are no game databases available, and generating millions of games yourself would be at odds with a design goal of configurability by the user for new variants without any tuning effort. It is also much more rewarding, because there are many more people that would use a chess-variant engine than there would be of an engine for orthodox Chess (that is no Stockfish).
chesskobra
Posts: 216
Joined: Thu Jul 21, 2022 12:30 am
Full name: Chesskobra

Re: Is chess programming now boring ???

Post by chesskobra »

I would like to see a good endgame engine, based on hand crafted evaluation. After recently finding an example of a 3400+ rated engine taking 123 moves to win Q+B+3P against 1P, I don't trust the ratings. I would be happy to see an engine that plays at FM or IM level in all phases of the game - without too much computation, with hand crafted evaluation. Older engines like crafty and phalanx still fascinate me, even though I have not looked at their code.
User avatar
lithander
Posts: 881
Joined: Sun Dec 27, 2020 2:40 am
Location: Bremen, Germany
Full name: Thomas Jahn

Re: Is chess programming now boring ???

Post by lithander »

For me programming is not a science but a craft. I'm not involved in chess programming hoping to publish a paper. I'm here to hone my skills and have some fun.

The way the community is set up with rating lists and enthusiasts running engine vs engine matches gives you something to aspire to without ever realistically expecting to dethrone one of the top 5 engines. The product (my chess engine) is not very valuable in itself but there are numerous of optimizations techniques to understand and implement. The reward is that you hone your craft and get to climb the Elo ladder as tangible proof of making progress.

You can define the terms of your journey in a way that makes it extra rewarding. So for example C# was considered unsuited for chessprogramming by many which motivated me to get as close to C/C++ performance levels as possible. I'm learning a lot about a language and runtime that I also use professionally. BMI2 and AVX2 intrinsics are so exotic that I never had to use them outside of chess programming.

While you can "just look up StockFish to see how everything is done" you can also not do that. I don't have to look at other engine's source code to first understand and then implement something like null move pruning or late move reductions. Also, developing Stockfish is a collaborative effort with over a hundred individual contributors. How would someone become knowledgable enough to contribute? Probably many of them have chess programming experience prior to their Stockfish contributions.

I agree with hgm that the machine learning aspects transform what started as a set of programming challenges into something else and I already see it becoming increasingly tedious. But it also came with it's own set of unique challenges that I found interesting.

So TLDR: Is it going to be my lifelong hobby? No. Have the past ~3 years been fun and educative? Yes!
Minimal Chess (simple, open source, C#) - Youtube & Github
Leorik (competitive, in active development, C#) - Github & Lichess
User avatar
Whiskers
Posts: 187
Joined: Tue Jan 31, 2023 4:34 pm
Full name: Adam Kulju

Re: Is chess programming now boring ???

Post by Whiskers »

:wink:
op12no2 wrote: Wed Mar 06, 2024 9:41 am Now and again chess players in General Topics ask for less super-human and more interesting (playing style) programs to have some fun with. CCRL has divisions that can accommodate such programs; so you get the best of both worlds. ELO being just one dimension; there are others kinda-thing. May be worth a poll?

I would guess that creating such a program can be challenging and rewarding if you set yourself some constraints to work within. For example: never looking at any other code (and maybe also the wiki), no overt evaluation function as such - it's all done incrementally with the hash update etc., minimum executable size, develop a syntax so players can define their own evaluation function to play around with, no searching (e.g. just super-fast random playouts, tiny net, fun 'personalities' like moving everything towards to opponents king or the opposite, no tuning automation, etc.

I’m trying something of this variety and it’s much more fun than Willow dev.
viewtopic.php?t=83309
op12no2
Posts: 505
Joined: Tue Feb 04, 2014 12:25 pm
Full name: Colin Jenkins

Re: Is chess programming now boring ???

Post by op12no2 »

Whiskers wrote: Wed Mar 06, 2024 4:50 pm :wink:
I’m trying something of this variety and it’s much more fun than Willow dev.
viewtopic.php?t=83309
Cool, I'll follow along; I like the blog topics.
syzygy
Posts: 5587
Joined: Tue Feb 28, 2012 11:56 pm

Re: Is chess programming now boring ???

Post by syzygy »

chesskobra wrote: Wed Mar 06, 2024 3:34 pmAfter recently finding an example of a 3400+ rated engine taking 123 moves to win Q+B+3P against 1P, I don't trust the ratings.
8-piece tablebases will solve that! :lol: :lol: :lol:
User avatar
mclane
Posts: 18777
Joined: Thu Mar 09, 2006 6:40 pm
Location: US of Europe, germany
Full name: Thorsten Czub

Re: Is chess programming now boring ???

Post by mclane »

I think Patricia is a very interesting playing engine.
What seems like a fairy tale today may be reality tomorrow.
Here we have a fairy tale of the day after tomorrow....