Computer Chess Club Archives


Search

Terms

Messages

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

Author: Andreas Guettinger

Date: 17:53:11 11/18/02

Go up one level in this thread


On November 18, 2002 at 02:06:14, Anthony Cozzie wrote:

>      47        9        0       0  z_book_create.c
>      10        4        5       5  z_book_merge.c
>     100        8        0       0  z_console.c
>     607       81       26      24  z_engine.c
>      73       15        0       0  z_epd_suite.c
>     688      116       28       3  z_eval_position.c
>     334       58        0       0  z_game.c
>     513       72       10      10  z_move_basics.c
>     884      139        0       1  z_move_generation.c
>     821      113        0       0  z_move_text.c
>     175       32        0       0  z_opening_book.c
>     162       31        0       0  z_speed_tests.c
>      83       19        0       0  z_trans_key_create.c
>     141       42        3       4  z_trans_table.c
>     229       27        0       0  z_xboard.c
>      93       12        0       0  z_basics.h
>     329       36        0       0  z_datatypes.h
>      82       21        0       0  z_debug_log.h
>     105       12        0       0  zappa.h
>    5476      847       72      47  total
>
>Code *and* comments for zappa total 5500 lines (2nd column is empty lines, the
>other two columns are essentially meaningless).  Of course, Zappa is a long way
>from done, but it does play reasonable chess <shrug>
>
>anthony


Damn, you win!  :)

  	  43 algebraic.cc
     485 attacks.cc
     341 board.cc
     417 captures.cc
     178 eval.cc
     462 genmoves.cc
     474 inout.cc
      96 legal.cc
      85 main.cc
     598 move.cc
     175 moveorder.cc
     106 perft.cc
     364 ponder.cc
     190 qsearch.cc
     216 search.cc
     235 common.h
      16 eval.h
    4481 total

Regards
Andreas



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.