Toledo Nanochess: The commented source code (book)

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

User avatar
nanochess
Posts: 64
Joined: Thu Feb 19, 2009 5:34 pm
Location: Mexico, Mexico

Toledo Nanochess: The commented source code (book)

Post by nanochess »

Hi guys.

Finally I've documented the source code of Toledo Nanochess in this book, so after all these years the comments are official from the programmer ;)

Every piece of code is fully documented.

Besides if someone remembers it, I made a 1K Javascript Chess for the JS1K contest (2010) which also I've documented fully. :D

Toledo Nanochess: The commented source code
http://www.lulu.com/shop/oscar-toledo-g ... 29040.html

Enjoy it! 8-)

Image
All good things are difficult to achieve.
Toledo Nanochess book http://www.amazon.com/Toledo-Nanochess- ... 1304864375
User avatar
cdani
Posts: 2204
Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra

Re: Toledo Nanochess: The commented source code (book)

Post by cdani »

Nice!
User avatar
Steve Maughan
Posts: 1221
Joined: Wed Mar 08, 2006 8:28 pm
Location: Florida, USA

Re: Toledo Nanochess: The commented source code (book)

Post by Steve Maughan »

Hi Oscar,

Nice project.

This is a tiny program isn't it? If so, how can such a small program take 180 pages to comment?

Best regards,

Steve
http://www.chessprogramming.net - Maverick Chess Engine
User avatar
nanochess
Posts: 64
Joined: Thu Feb 19, 2009 5:34 pm
Location: Mexico, Mexico

Re: Toledo Nanochess: The commented source code (book)

Post by nanochess »

Steve Maughan wrote: This is a tiny program isn't it? If so, how can such a small program take 180 pages to comment?
It's because the compression possibilities of C language, a handful of characters does a lot of operations ;)

Half book is for Toledo Nanochess and the rest of book discuss basics of chess programming, the WinBoard interface, my JS1K entry, Java chess and so.
All good things are difficult to achieve.
Toledo Nanochess book http://www.amazon.com/Toledo-Nanochess- ... 1304864375
User avatar
nanochess
Posts: 64
Joined: Thu Feb 19, 2009 5:34 pm
Location: Mexico, Mexico

Re: Toledo Nanochess: The commented source code (book)

Post by nanochess »

All good things are difficult to achieve.
Toledo Nanochess book http://www.amazon.com/Toledo-Nanochess- ... 1304864375
User avatar
JuLieN
Posts: 2949
Joined: Mon May 05, 2008 12:16 pm
Location: Bordeaux (France)
Full name: Julien Marcel

Re: Toledo Nanochess: The commented source code (book)

Post by JuLieN »

Neat ! That's beautiful Oscar! Congratulations! :D I'll order one soon.
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
User avatar
nanochess
Posts: 64
Joined: Thu Feb 19, 2009 5:34 pm
Location: Mexico, Mexico

Re: Toledo Nanochess: The commented source code (book)

Post by nanochess »

JuLieN wrote:Neat ! That's beautiful Oscar! Congratulations! :D I'll order one soon.
Thanks! :D
All good things are difficult to achieve.
Toledo Nanochess book http://www.amazon.com/Toledo-Nanochess- ... 1304864375