As you may know c++ is object oriented language
I would focus on defining the object relationship diagram first
For example look at the whole game as an object
So you may have one class for chess pieces
attributes could be
Name, color
methods could be
move, eliminate, constructor, destructor methods etc
one class for board
attributes may include location 2 dimensional array 8,8
chess pieces [pointers]
Hope I made some sense, good luck
Can u give me a idea to create a software package for chess game based on c++?
I am glad and let me know how your project goes. Wish you good luck. Report It
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment