Author: Frank Schneider
Date: 22:28:00 12/30/99
Go up one level in this thread
On December 30, 1999 at 18:53:04, Tom Kerrigan wrote: >Although I love C and I usually don't approve of object-oriented programming, I >think there are compelling reasons to use objects in a chess program. > >Specifically, I want to have a chess board class, which contains the data and >functions necessary to manipulate a chess board. I also want to have an engine >class, which extends the chess board class, and adds the functions necessary to >search the board. > >I have two questions: >1. When I access the chess board class from the engine class, will there be a >performance hit? I don't think so. >2. If I have multiple instances of the engine class, can each one run on a >different processor without a performance hit? I think so, but haven't tried it. Have a look at the TCB chesslib. It has a lot of chess-related classes and I think its overall design is very good. Would have saved me a lot of time if I had used it in Gromit 2.20. Frank
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.