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.
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.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop