Professional Documents
Culture Documents
Department of Software Engineering
Department of Software Engineering
CLO3: IMPLEMENT THE DESIGN PATTERN AND ARCHITECTURAL PATTERN TO FULFIL GIVEN
QUALITY CRITERIA
2:00 pm – 5:00 pm
Introduction
Students will have hands-on experience of implementing a creational design pattern to a chosen
problem.
Objectives
This objective of this lab is to get a practical understanding and knowledge of Builder method
Pattern. After the completion of this lab, students will be able to apply Builder method design
pattern to build a maze game.
Tools/Software Requirement
Papyrus/Rational Rose
Java/ Python
Description
The Builder interface can create three things: (1) the maze, (2) rooms with a particular room
number, and (3)doors between numbered rooms. The GetMaze operation returns the maze to the
client. Subclasses of MazeBuilder will override this operation to return the maze that they build.
Apply the above description to create either StandardMaze or EnchantedMazeGame.
Lab Task
Task 1
1. Draw UML Class diagram of the chosen scenario.
2. Fully functional code of the scenario.
Answer:
Solution
UML Class Diagram
Source Code