Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How Many Lines of Code in Source for Chess Engine?

Author: Robert Hyatt

Date: 15:15:50 11/18/02

Go up one level in this thread


On November 18, 2002 at 15:14:15, Tom Likens wrote:

>On November 18, 2002 at 10:52:36, Robert Hyatt wrote:
>
>>On November 17, 2002 at 19:30:47, Bob Durrett wrote:
>>
>>>
>>>
>>>
>>>If it takes one year to write and debug 25,000 lines of code, [in Rookie 2],
>>>then how much more in modern successful chess engines?  I assume the GUI is not
>>>so bad.
>>>
>>>If the answer comes out to be 50,000 or 100,000 lines of code, then this may be
>>>a lifetime project?
>>>
>>>What am I missing?
>>>
>>>Just Xerox Crafty and rename it?  [ A joke ]
>>>
>>>Bob D.
>>
>>Crafty is about 45,000 lines of code, as a reference point...
>
>Djinn (my own humble effort) comes in at around 29,000 lines.
>That extra 16,000 lines is probably why it loses to Crafty :)
>
>By the way if you're interested in the Perl script I used to
>extract out the code line count let me know, I'd be happy to
>email it to you (or anyone else actually).
>
>regards,
>--tom


I just did the simple

cat *.c *.h *.cpp | wc -l

:)  Didn't worry about comments and the like.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.