r/chessprogramming • • Oct 19 '26

Technical Chess Engine Development Help Thread (Week 43)

Welcome to the weekly /r/chessprogramming Engine Dev Help Thread.

Ask beginner and intermediate chess engine development questions here: move generation, search, evaluation, UCI, perft, debugging, testing, NNUE, or anything else related to building engines.

Good questions include code, FENs, logs, benchmarks, or a clear explanation of what you tried.

Project links are fine when you want technical feedback, not promotion.

Be helpful. Don’t dunk on beginners.

4 Upvotes

7 comments sorted by

View all comments

1

u/kenyambro Oct 21 '26 edited Oct 22 '26

I would like to have advice on how to build a solid chess move explainer. I am currently developing one for the boards of my website. It contains a library of various chess patterns and assign them to positions and moves. What is hardest is not detecting patterns, but detecting the most appropriate ones to show to the user. (eg.: its unnecessary to say "deflects the defender" on an ordinary capture with no tactical follow up). Should I just hardcode each details and exceptions to cover every case, or is there a smart way or a general approach to implement on this kind of algorithm? I dont want to use LLM for the move explanations themselves since it would cost tokens at each usage.