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

Categories

HOME
search
kentico
adal
object
jmx
serialization
dojo
vsm
webix
teechart
opengl-es-3.0
coin3d
glyphicons
git-extensions
pyramid
enterprise-miner
aggregation
custom-post-type
motion-detection
jasmine-node
asymptotic-complexity
inversion-of-control
cppreference
userdefaults
database-comparison
angularjs-material
video-capture
apic
reason
sql-server-ce
password-protection
apns-php
branching-and-merging
glm-math
chronicle-map
stylecop
xbmc
colorbar
cup
flex-monkey
google-cloud-console
dotnetnuke-7
appscale
shopping
freepbx
uiactionsheet
thread-sleep
concept-insights
tfs-workitem
sciruby
r-package
computer-architecture
intel-c++
video-player
dnssec
telepat
sql-scripts
spy++
formview
entry-point
device-tree
universal-image-loader
authlogic
drupal-nodes
gd-graph
c++builder-xe5
pclzip
resource-management
robotlegs
nokia-s40
fsevents
google-ajax-api
entitydatasource
cgbitmapcontextcreate
xui
cac
silent
dot-emacs
application-verifier
build-environment
strtod
sun
asynchronous-wcf-call
perl5.12
wcf-proxy
appliance

Resources

Encrypt Message