editor's blog
Subscribe Now

World’s Smallest Chess Program

Chess is tough, right? It’s a complicated game. Just explaining the rules can take hours, or hundreds of pages, and that’s before you get into subtle strategies. Mastering chess can be the work of a lifetime.

So how did a French kid write a fully featured chess program in just 487 bytes of code? Not 487 MB. Not even 487 KB. It’s four hundred and eighty-seven bytes of code. And it plays chess. This kid is good.

In case you’re wondering, the previous record holder for smallest chess program was Sinclair ZX1 Chess, which weighed in at 672 bytes, a tiny chess record it held for 33 years. There’s also Tiny Chess, a 1251-byte program. It offers graphics (as opposed to ASCII art), but since it’s written in Javascript, it’s not technically a standalone program, requiring megabytes of overhead to run.

 

Leave a Reply

featured blogs
Jul 6, 2020
If you were in the possession of one of these bodacious beauties, what sorts of games and effects would you create using the little scamp?...
Jul 3, 2020
[From the last episode: We looked at CNNs for vision as well as other neural networks for other applications.] We'€™re going to take a quick detour into math today. For those of you that have done advanced math, this may be a review, or it might even seem to be talking down...
Jul 2, 2020
In June, we continued to upgrade several key pieces of content across the website, including more interactive product explorers on several pages and a homepage refresh. We also made a significant update to our product pages which allows logged-in users to see customer-specifi...

Featured Video

Product Update: DesignWare® TCAM IP -- Synopsys

Sponsored by Synopsys

Join Rahul Thukral in this discussion on TCAMs, including performance and power considerations. Synopsys TCAMs are used in networking and automotive applications as they are low-risk, production-proven, and meet automotive requirements.

Click here for more information about DesignWare Foundation IP: Embedded Memories, Logic Libraries & GPIO

Featured Paper

Cryptography: A Closer Look at the Algorithms

Sponsored by Maxim Integrated

Get more details about how cryptographic algorithms are implemented and how an asymmetric key algorithm can be used to exchange a shared private key.

Click here to download the whitepaper

Featured Chalk Talk

Magnetics for High Voltage

Sponsored by Mouser Electronics and Bourns

With today’s trend toward ever-increasing voltages in energy systems, choosing the right transformer for the job has become an engineering challenge. High voltages demand careful attention to insulation, clearance, and creepage. In this episode of Chalk Talk, Amelia Dalton chats with Cathal Sheehan of Bourns about choosing magnetics for high-voltage applications.

More information about Bourns Magnetics for High Voltage Applications