File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes OO, Patterns, UML and Refactoring and the fly likes OO Chess Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "OO Chess" Watch "OO Chess" New topic
Author

OO Chess

Nikhil Jain
Ranch Hand

Joined: May 15, 2005
Posts: 385
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
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
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.

1.1 Requirements

2.1 Design

3.1 Programming

1.2 Requirements

2.2 Design

3.2 Programming

1.3 Requirements

2.3 Design

3.3 Programming
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: OO Chess
 
Similar Threads
Java Chess Game I made by my self
Bit of Theory regarding Interfaces
Class that returns Mysql Data?
why to implement interface
need code for the following problem..plz