BrainStuff
Get inside the brain of the mastermind of HowStuffWorks.

Category RSS Feed

World Record #99 – The world’s smallest chess program

by Marshall Brain |

4 Comments | Add Comment

 

It is common to hear about gigantic chess programs running on giant supercomputers. But what is happening at the opposite end of the spectrum? What is the tiniest program someone can write that is able to chess? Turns out that it only takes a couple thousand characters to do it:

Toledo Nanochess

Even more amazing is a JavaScript version that is not much bigger. It is available for your enjoyment on this page (you are white):

Toledo Javascript Chess

Even better, he gives you the code (the JavaScript version is available in the page source as well).

[[[Jump to previous world record - The world’s fastest electric car]]]

 

Tags: , , ,

4 Comments

Add your comment

Facebook Users

or Non-Facebook Users

Please read our comment policy »

We love thoughtful responses and lively debates in our comment threads, but please be polite and keep your comments on topic. Spam, trolling, profanity, threats, personal attacks or comments that are generally considered not safe for work will be deleted. For more information please see our Visitor Agreement

Recent Postings by Category