Professional Documents
Culture Documents
CO22302
DOP: PRACTICAL 7 DOS:
6. Add Decision Nodes (Optional): If the process involves decision points where different
actions are taken based on conditions, add decision nodes (diamond shapes). Label each
decision node with the condition that determines the path of execution.
7. Add Merge Nodes (Optional): If multiple control flows converge back into a single path
after a decision point, add merge nodes (diamond shapes with multiple incoming
arrows) to indicate the merging of paths.
8. Review and Refine: Review the activity diagram to ensure that it accurately represents
the process flow and captures all necessary actions and decisions. Make any necessary
refinements or adjustments to improve clarity and completeness.
9. Document and Communicate: Document the activity diagram by providing a title and
any necessary explanations or annotations. Share the diagram with stakeholders to
communicate the process flow and gather feedback.
10. Update as Needed: As the process evolves or changes over time, update the activity
diagram to reflect the current state. Regularly review and revise the diagram to ensure
that it remains accurate and useful.
ACTIVITY DIAGRAM:
CO22302
DOP: PRACTICAL 7 DOS:
Explanation of fig1:
Start and End: The diagram begins with the "Start" node, representing the start of the activity,
and ends with the "End" node, indicating the completion of the activity.
Home Page Display: After starting, the user is directed to the home page of the game, where
they see various options and information.
Download Game Icon: This activity represents the user downloading or accessing the game
icon from the home page display screen.
Join Game or Host Game: The user is presented with the option to either join an existing game
or host a new game session.
Play: Upon selecting either option, the user proceeds to the "Play" activity, initiating the
gameplay process.
Start Game: The game begins, and the player is directed to the title screen or introduction of
the game.
Pause Game and Exit Inquiry: During gameplay, if the user decides to pause the game, they
are prompted with the option to either exit the game or resume playing.
Choose Yes to Exit Game: If the user chooses to exit the game, the activity diagram proceeds
to the "End" node, indicating the end of the game session.
Choose No to Continue Game: If the user decides to continue playing, the game resumes from
the paused state.
Title Screen: After the game intro, the user progresses to the title screen and begins playing the
first level of the game.
Gameplay: Seek & Kill Enemies: The main gameplay activity involves the player seeking and
eliminating enemies to progress through the game.
Survive: The player must survive enemy encounters and challenges to proceed further in the
game.
If Yes: If the player successfully survives and completes the game objectives, they win the
game and can choose to continue playing.
If No: If the player fails to survive, they have the option to continue playing or exit the game.
Quit Game: If the player chooses to quit the game, the activity diagram proceeds to the "End"
node, marking the end of the game session.
Die and Continue: If the player dies during gameplay but chooses to continue playing, they
respawn or restart from a checkpoint to try again.
Get Points: Throughout the game, the player earns points or rewards for various
accomplishments, such as defeating enemies or completing objectives.
RESULT: Activity diagrams are crucial tools in system analysis, design, communication, and
improvement. They facilitate understanding, collaboration, and decision-making across
various stages of software development and process management.
CO22302