How should one improve his OO designing skills. I am trying to make an OO design for chess class.
As per my knowledge it should have the following classes
1. Player Interface & 2 generalized classes. It will have color as one of its attributes
2. Piece Interface - It will have generalized classes like Bishop, queen etc. Each class will have a method that return its move rules
3. Board Class
4. ChessManager class.
I am having a horrible time in taking this forward.
Any help towards this will be great.
SCJP 1.4, SCWCD 1.4, SCBCD 1.5
Joined: Apr 16, 2008
There are steps that come before OO design. One of the most important steps are the program's requirements. Once you have a good set of understandable and clearly written requirements, then you start with creating an OO model design. Then, once you have a design to work with, you start to write the code which implements the design.