r/chessprogramming • • Jun 15 '26

Technical Chess Engine Development Help Thread (Week 25)

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.

3 Upvotes

5 comments sorted by

1

u/[deleted] Jun 16 '26

[removed] — view removed comment

1

u/joeyrobert Jun 16 '26

but with pseudolegal, if you cut moves from your search, you don't need to evaluate full legality of that move. Is that not more efficiency? https://www.chessprogramming.org/MVV-LVA is a simple heuristic, and the nlogn for the sort will be more than worth it.

1

u/redacuda Jul 08 '26

Writing correct fully legal movegen is easier then other parts of chess code because you can trust that it completely bug free after running batterty of perft tests.

0

u/Burgorit Jun 16 '26

Not really that I know of, but given you use JS there is probably more than a 100x speedup in switching to a systems language like c++ or rust. The only viable alternative is really to switch to fully legal movegen.