uml
UML Activity diagram how to show game ends when time has passed?
Activity Diagram for Simple Pacman-like Game When 20 seconds passes, the player unlocks poison. Poison can be dropped to slow down the enemy, or the player can accidentally eat his own poison and slow down. I want to show that the player wins after 60 seconds has passed. I thought I would show it as a loop looping the 20seconds 3 times but that would be incorrect because the player can only unlock the poison once. Would the best way of showing this be to draw a rectangle around the entire diagram and just state (after 60 seconds, player wins)? - and have it lead to an end circle?
You can also just add the point where you get start time and add point when you check if current time - start time == 60sec.
Related Links
How to represent a use case condition?
3 tier architecture on a use case diagram
Which UML Tool has been used to create this diagram?
private/protected functions in sequence diagrams
Can I write comments in UML Class diagram?
Application's update feature use case
What is the difference between 'includes', 'extends' and 'uses'?
UML sequence diagram
Clean HTML documentation template for Enterprise Architect
Are there standards for flowcharting websites?
Aggregation relationship between client and Person/Organization
What is the difference between SCXML statecharts and UML statecharts?
Some questions regarding Context and DataFlow Diagrams
How can a piece of hardware be an actor in a use case diagram?
In an activity diagram, are there two initiating events allowed?
Using UML to Understand Code