Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Program design question

Author: Steve Maughan

Date: 05:19:49 12/31/99

Go up one level in this thread


Tom

I do the following (in Delphi)

type

 TChessEngine = class(TObject) <-This contains abstract methods and properties
 TThinkingChessEngine = class(TChessEngine)
 TMyChessEngine = class(TThinkingChessEngine)
 TChessBoard = class(TChessEngine)
 T3DBoard = class(TChessBoard)

If you think about it a chess board is really a chess engine where the user is
the thinking part.

It seems to work for me!

Steve Maughan




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.