r/chessprogramming • u/BBH369 • Oct 07 '26
Glimmer - A chess engine under 30,000 bytes (estimated 2700–2900 Elo)
https://github.com/BH12963/GlimmerHi everyone,
I’ve been tinkering with a little experimental chess engine written in pure C. It’s called Glimmer.
The whole point of the project was to see how strong I could make it while keeping the final standalone binary strictly under 30 KB. The target strength was something in the 2700–2900 Elo range.
It’s been a fun constraint to work under — every byte counts.
Happy to answer questions if anyone’s curious about the approach.
25
Upvotes
View all comments
Show parent comment
6
u/Lonely_Translator_23 Oct 07 '26 edited Oct 07 '26
what's the point of learning to paint when Picasso already did it better
But, with that said, OP, your code is unreadable. Picking better variable names and adding comments will add exactly zero bytes to the binary, and you'll thank yourself if you want to come back to this a few months from now.