110 likes | 128 Views
This lecture focuses on reflection on the design and implementation process of the BeNumbered game using UML. It discusses the evaluation of designs, changes in thinking, shortcomings, and the best way to handle various aspects of the game. Students are also given an assignment to implement a chosen design and submit the working code along with a revised UML document.
E N D
Informatics 122Software Design II Lecture 5Emily Navarro Duplication of course material for any commercial purpose without the explicit written permission of the professor is prohibited.
Today’s Lecture • Reflection • Assignment 2
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?
Reflection • How was the quality of the designs you evaluated?
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? • … ?
Reflection • What now is a good design? • What now is a bad design?
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
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
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
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
Assignment 2 – Grading • Completeness • working code covering all of the rules of BeNumbered • Adherence to the original design • Motivation for modifications to the original design