1 / 9

Assignment 1, 2, 3

Get help with your software engineering assignments on design patterns, shiny toy anti-pattern, and soccer engine game. Submit your answers via email.

Download Presentation

Assignment 1, 2, 3

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. In the name of God Assignment 1, 2, 3 Advanced topics in Software Engineering Leila Samimi-Dehkordi PhD. Student Department of Software Engineering Faculty of Computer Engineering University of Isfahan Email: l.samimi@gmail.com These slides are prepared for Master student of Islamic Azad University of Shahrekord

  2. Individual assignments • Compare your design pattern with at least two other patterns: • Write similarities. • Write differences. • Submit the answers on 6 Azar. • Your answer must be typed in a word document. • Send it to my email. (I don’t accept hard copy) • Do not copy from other document. Fall 2014 Advanced topics in Software Engineering by Samimi

  3. Individual assignments (2) • What is shiny toy anti-pattern? • Write one page about it in persian. • Submit the answers on 13 Azar. • Your answer must be typed in a word document. • Send it to my email. (I don’t accept hard copy) Fall 2014 Advanced topics in Software Engineering by Samimi

  4. Team Assignment • Design a soccer (football) engine game. • The end user play the in the following sequence: • Select two teams • Add or remove player to/from the team • Select a play ground • Start the game • Design a class diagram includes: • Player • Team • Ball • Playground • Referee • Game Engine • Game • Team strategy Fall 2014 Advanced topics in Software Engineering by Samimi

  5. 1. Game Engine We want to have only one Game Engine at the time. Which pattern has to be used and how? Fall 2014 Advanced topics in Software Engineering by Samimi

  6. 2. Ball When the position of a ball changes, all the players and the referee should be notified straight away. How to use observer design pattern to solve this problem? Fall 2014 Advanced topics in Software Engineering by Samimi

  7. 3. Team Strategy The end user can Team Strategy from attack to Defend or inverse. How to use Strategy Design Pattern to solve this problem? Fall 2014 Advanced topics in Software Engineering by Samimi

  8. 4.Player A player in a team should have additional responsibilities, like Forward, Defender etc, that can be assigned during the runtime. How to use Decorator Design Pattern to solve this problem? Hint: we have to kind of players: field-player and goal-keeper. Each player may have three roles: Forward, MidFielder, Defender. Fall 2014 Advanced topics in Software Engineering by Samimi

  9. Design and Code After designing each section, code the design in java. You need to present your work on 20 Azar. Fall 2014 Advanced topics in Software Engineering by Samimi

More Related