Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: [ANN] Free Chess Software (Eiffel source code)

Author: Ken Stauffer

Date: 21:52:43 02/24/04

Go up one level in this thread


Thanks. The chess engine was 8,000 lines of code. The HOTBABE character was
5,000 lines of code; and the GUI was 10,000 lines of code.

Eiffel is garbage collected, so part of the challenge was designing the chess
engine to avoid dynamic memory allocation, for performance reasons. Fortunately
this can be done by preallocating arrays/queues.

Eiffel inheritance allowed me to decompose the chess movement logic and avoid a
lot of code duplication. Design By Contract allowed me to complete this project
in 4 months with very little debugging. Also garbage collection was a bonus
because I didn't have to debug memory errors. Eiffel's strong type checking and
not having to deal with pointers, also eliminated a whole class of potential
bugs.

I am most happy with the fact that this program demonstrates that performance
critical applications can be implemented in Eiffel.




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.