umlcomputer-sciencesoftware-designuse-caseuse-case-diagram

Use case Diagram for Pacman Arcade


Does any one know how to create use case diagram for PACMAN ARCADE game ?These are some of the features:

  1. Ghost Movement & Behavior
    • when an energizer is eaten, the ghosts turn blue and flee from pac-man
    • four colors ghost pursue player
  2. Energizers and power pellets and Maze generation,
    • energizers are placed at the four corners of the maze and power pellets placed throughout the maze.
  3. pac-man behavior
    • movement, score, eat, death

Solution

  • Use-case represent actor goals, i.e. the purpose of interacting with the system. Playing is the only real goal here. So the use-case diagram would be super simple:

    enter image description here

    Use-cases are not meant to model behavior details. To model behaviors, use activity diagrams (flows of activities) and sequence diagrams (interactions between objects) or state diagrams (e.g. temporary change of states line superpowers).

    And for the user interface, use non-UML techniques like wireframes or storyboards. These are meant for exactly that.