Presentation is loading. Please wait.

Presentation is loading. Please wait.

Informatics 122 Software Design II

Similar presentations


Presentation on theme: "Informatics 122 Software Design II"— Presentation transcript:

1 Informatics 122 Software Design II
Lecture 5 Emily Navarro Duplication of course material for any commercial purpose without the explicit written permission of the professor is prohibited.

2 Today’s Lecture Reflection Assignment 2

3 Reflection Now that you have evaluated these designs, how has your thinking changed regarding: UML and its capabilities How hard was it to specify your design in UML? understand someone else’s design in UML? The specificity of design How well does your design reflect your intentions/its meaning? Can everything that needs to be specified actually be specified? If not, what was missing?

4 Reflection How was the quality of the designs you evaluated?

5 Reflection How did this exercise change your opinion of your own design? Better? Worse? What shortcomings were uncovered in your own design by seeing others’? Amount of commentary? Pieces you didn’t model? Holes in your logic? … ?

6 Reflection What now is a good design? What now is a bad design?

7 Reflection How do you know that your design does/does not hold up well in the face of change? What kinds of changes do they hold up well/not so well to? Design change examples in the evaluation form Had a question about this… did it help to have a specific requirements change to try and work into a design (in your eval forms)? Try to think of these kinds of examples on your own when designing.

8 Reflection What is the best way to… represent the board
handle sequences (3, 4, 5) handle modes handle different types of spaces (e.g., flame numbers) handle scorekeeping represent a player handle the logic of checking sequences calculating score increase making spaces disappear filling in spaces with random numbers repeating above steps board: how represented? a 2D array? list of cells with location class? sequences: does a sequence need to be a class? modes: most agree this is an interface… what is in the interface? what uses this interface? diff types of spaces: most agree that this is an interface… what is in the interface? scorekeeping: where is this data kept? why? player: did you even represent a player? logic: i.e., where is this all done? In one spot? Different classes? How does it flow?

9 Assignment 2 – Implementation
You are to implement someone else’s design, namely the design that you ranked first In making this implementation, you have two goals you must hand in a fully working BeNumbered game adhering to all of the rules of BeNumbered adhere to the chosen design as much as possible Make sure you still have the designs you evaluated Due: Tuesday, January 28th, beginning of class

10 Assignment 2 – Deliverables
Submitted as a single zip file via eee dropbox (named “Assignment 2”: Working Java code (both source and a JAR file) Brief instructions on exactly how to run the JAR file Brief instructions on how to provide input to the game Submitted in class (paper copy): A revised UML document describing the design underlying the code i.e., the design you eventually implemented A document describing any and all changes you had to make to the original design with a motivation as to why why you made these changes why these changes could not be avoided e.g., if using external libraries, include them into the zip file and describe in the textual file how to include them in the classpath, or what commands I should run to execute it.

11 Assignment 2 – Grading Completeness Adherence to the original design
working code covering all of the rules of BeNumbered Adherence to the original design Motivation for modifications to the original design


Download ppt "Informatics 122 Software Design II"

Similar presentations


Ads by Google