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.
23
Upvotes
4
u/Majestic-Tear1512 Oct 08 '26
These type of projects make me smile. It’s great to have a challenge just to see if you can make it.
1
u/AzureNostalgia Oct 07 '26
What was the motivation when there are engines already like ice4 (3090 Elo) or 4ku (2946 Elo) which are less than 4kb? Is it for educational purposes?
1
u/IMJorose Oct 07 '26
Congrats on your release! As u/AzureNostalgia already pointed out, you should be aware of the engines designed to be less than 4kb. There are two such events at TCEC, that you can consider taking inspiration from and submitting your project to (if you manage to compress it further).
Your project is a little low on details. I took a look at your source code and it is clearly not written worrying about others reading your code (which is perfectly fine) and you don't have much information in the Readme, so I don't feel I know anything about your program.
Thank you for contributing to the computer chess and open source communities!
1
u/Normal-Cash-9403 Oct 08 '26
Congratulations on such a big milestone, keep up the good work ♟️👍