Author: Edward Seid
Date: 20:25:15 09/21/03
Go up one level in this thread
On September 21, 2003 at 21:15:06, Robert Hyatt wrote: > A chess board is a good example of an object. There is >no need to create a bunch of them, one is enough. I've personally seen more >than one _really_ elegant OO (C++) chess program that was just as fast as >mine (it was a bitboard program also). OK, so a chessboard is a good object for an OOP-oriented chess program. What other things would be good to represent as objects? For the chessboard and other objects, what would be the attributes and methods of each object? (Sorry that I ask so many questions, but I promise the next one won't be "Write me code to do the above")
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.