Toledo Nanochess: The commented source code (book)

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

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
User avatar
nanochess
Posts: 64
Joined: Thu Feb 19, 2009 4:34 pm
Location: Mexico, Mexico
Contact:

Toledo Nanochess: The commented source code (book)

Post by nanochess » Tue Feb 11, 2014 8:30 pm

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: 2104
Joined: Sat Jan 18, 2014 9:24 am
Location: Andorra
Contact:

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

Post by cdani » Tue Feb 11, 2014 10:49 pm

Nice!

User avatar
Steve Maughan
Posts: 1061
Joined: Wed Mar 08, 2006 7:28 pm
Location: Florida, USA
Contact:

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

Post by Steve Maughan » Tue Feb 11, 2014 11:09 pm

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 4:34 pm
Location: Mexico, Mexico
Contact:

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

Post by nanochess » Tue Feb 11, 2014 11:54 pm

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 4:34 pm
Location: Mexico, Mexico
Contact:

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

Post by nanochess » Thu Mar 20, 2014 3:16 pm

All good things are difficult to achieve.
Toledo Nanochess book http://www.amazon.com/Toledo-Nanochess- ... 1304864375

User avatar
JuLieN
Posts: 2948
Joined: Mon May 05, 2008 10:16 am
Location: Nantes (France)
Contact:

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

Post by JuLieN » Thu Mar 20, 2014 4:05 pm

Neat ! That's beautiful Oscar! Congratulations! :D I'll order one soon.
"The only good bug is a dead bug." (Don Dailey)
Image [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 4:34 pm
Location: Mexico, Mexico
Contact:

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

Post by nanochess » Fri Mar 21, 2014 11:06 pm

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

Post Reply