Object Oriented Design - PowerPoint PPT Presentation

Loading...

PPT – Object Oriented Design PowerPoint presentation | free to download - id: 5b9786-MWNiN



Loading


The Adobe Flash plugin is needed to view this content

Get the plugin now

View by Category
About This Presentation
Title:

Object Oriented Design

Description:

Goals Space Invaders Design presentations UML: Use Case Diagrams State Diagrams Homework #3 announcement Game Design TidBits Diagrams Structural Diagrams (represent ... – PowerPoint PPT presentation

Number of Views:106
Avg rating:3.0/5.0
Slides: 14
Provided by: Owen60
Category:

less

Write a Comment
User Comments (0)
Transcript and Presenter's Notes

Title: Object Oriented Design


1
Object Oriented Design
2
Goals
  • Space Invaders Design presentations
  • UML
  • Use Case Diagrams
  • State Diagrams
  • Homework 3 announcement
  • Game Design TidBits

3
Diagrams
  • Structural Diagrams (represent static application
    structure)
  • Class Diagram (examples)
  • Object Diagram (examples)
  • Component Diagram
  • Deployment Diagram
  • Behavior Diagrams (represent different aspects of
    dynamic behavior)
  • Use Case Diagram (examples)
  • Sequence Diagram (examples)
  • Activity Diagram
  • Collaboration Diagram
  • Statechart Diagram (example)
  • Model Management Diagrams (ways you can organize
    and manage your application modules)
  • Packages
  • Subsystems
  • Models

4
Use Case Diagrams
Control Frog
player
  • Contain
  • Actors represent users of a system including
    human users and other systems
  • Use cases represent functionality or services
    provided by a system to users
  • Use cases are typically specified by sequence
    diagrams

fire laser
5
Example
6
Scenarios
  • A scenario describes a single interaction between
    a user and a system as a sequence diagram
  • Even a simple game (e.g., Frogger) requires a
    number of scenarios

frog
Move up
7
State Diagrams
Same as general computer science state diagrams
but include hierarchical states
Event Guard / Action
Initial state
Final state
8
Example 1
9
Example 2 score keeper
inc
inc
inc
inc
inc
inc
inc
inc
inc
0
1
2
3
4
5
6
7
8
9
Inc seeA (lt-, digit) / make (lt-, inc)
Inc NOT (seeA (lt-, digit)) / new (lt-, 1)
10
Homework
  • Complete group design of Space Invaders
    INDIVIDUALLY including
  • Class diagram
  • Behavior Diagrams Sequence diagrams, State
    charts, Use cases
  • Implement group design of Space Invaders in
    AgentSheets INDIVIDUALLY
  • Game needs to be complete and playable including
    score keeping
  • Turn in
  • Electronic AND printed version of design (UML
    compliant)
  • AgentSheets Project folder (zipped or stuffed)
  • One paragraph on how to use your game
  • Key bindings
  • Worksheets to load
  • Due Sept. 17

11
About homework
  • Project naming use last name as prefix for
  • Project folder name Smith_Frogger
  • Zipped/stuffed file Smith_Frogger.zip /
    Smith_Frogger.sit
  • Documentation
  • Separate file (separate email attachment)
  • Format MS PowerPoint .ppt, or Adobe PDF .pdf
  • Last name prefix Smith.ppt

12
Emailing projects
  • AS Windows / E-Mail Project
  • Edit subject line to include 4448,
  • e.g., 4448 My AgentSheets Simulation
    Smith_Frogger
  • Send project ALSO to TA

13
Structure of document
  • UML compliant diagrams
  • 1) class diagram (all classes, attributes and
    operations)
  • 2) object diagram gt screen dump
  • 3) Use Case Diagrams
  • Scenario 1 user fires laser (show sequence
    diagram)
  • Scenario n user
  • 4) State Diagrams (where needed)
About PowerShow.com