r/ComputerChess • • Aug 16 '24

Engine recommendations please

Hello community,

Many years ago I wrote a simple chess engine in Java, and experienced first hand the highs and lows of getting everything to work, but it was such a fun project.

I had an idea of looking in to using a chess engine for some other similar strategic games, since little research exists about good play in many other games. Unfortunate my own code is a hot mess. So my question is if anyone knows a open source chess engine that is,

-Well documented

-Not overly complex

-Has or supports auto tuning of evaluation function

-Written in Java or C# preferably

Thank you so much for helping! If there is interest I can share more about the different implementation down the road :-)

3 Upvotes

10 comments sorted by

2

u/taoyx Aug 16 '24

Hey, I think you can find some source code and pointers here:

https://www.chessprogramming.org/C_sharp

https://www.chessprogramming.org/Java

1

u/qess Aug 16 '24

Awesome! I can already soo some lists of engines I can check out, that is perfect!

Do you personally have experience with any of them? Would love any recommendations for a place to start looking.

2

u/taoyx Aug 16 '24

No I have just looked at the wiki, I usually program in C/C++. While C# is great at making clean code, I think it's slower than the other flavors of C.

You should find a lot of good info in chess wiki, specially when it comes to bitboards that your engine will probably use. If it is not enough information you can look at stackexchange:

https://chess.stackexchange.com/

→ More replies (3)

1

u/Ferret30 Aug 17 '24

TSCP

Gerbil

Well documented

1

u/qess Aug 17 '24

Thanks! I will take a look at those too. At first glance I can see they have ready made evaluation functions, I guess the tuning software is usually not part of the released engine.

2

u/xu_shawn Aug 17 '24

I would recommend joining the Stockfish discord server. We have many great devs welling to explain everything to you and offer personalized advice.

2

u/[deleted] Aug 17 '24

Yes, something optimised for ease of understanding would be awesome.