Author: Bas Hamstra
Date: 03:23:36 11/05/97
Hi Amir, Congratulations with your victory. I'm doing some C++ in a chess program but I am more used to C. You once said that in Junior you use only ONE class: position. Now I don't understand that. It seems to me that if you have exactly one class you might as well code your program in C in stead of C++. Could you comment on that, please? Further I would like to hear your opinion on the following. I plan to use the following objects: - TBoard (including make/unmake) - THashTable - TMovGen - TDragDrop (graphical stuff) - TSearch - TEval Now this looks like a bunch of modules in a C program to me. Is it reasonable to set up objects this way or am I on the wrong track? BTW: All objects are to be created exactly ONCE, just like globals in a C program, and dynamically allocated from the heap. For the graphical object I plan to create a totally customizable graphical chess board dragdrop component (a visual object that can be dropped on a form in a visual environment like Delphi/C++ Builder). Comments very welcome. Regards, Bas Hamstra.
This page took 0.01 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.