Home-->Lab-sessions-->Week-7 | |
To understand and apply important concepts of object oriented design such as coupling, cohession and responsibility-driven design.
The exercise focuses around analysing the design quality of a version of the World-of-Zuul game. Below you can see a class diagram of the program and this is the code for the relevant classes of the exercise (Game and Room).
Try to re-design these classes (Game and Room) applying design concepts such as loose coupling, high cohession and responsibility-driven design. You may refer to Lecture 6 slides for some ideas.
|