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

Can a delete use case extend a create use case?
PlantUML: overlapping activations (multiple threads)
UML reduce number extend and implement connections
Creating class diagrams for a theoretical scenario?
IS it possible to have a Scenario table without any actor request?
In UML, can I have two sets of relationships between two classes?
Use case diagram to create class diagram
How Sequence Diagram model Dynamic Structure?
UML state diagram: cross-orthogonal region triggers
What does an “a” mean in Class diagrams?
When we writing a use case scenario what should I do if there is an extention point?
sending message to collection in sequence diagram
Proper way to put array in UML diagram?
What is Navigability in UML diagrams?
Impossible to add opaque action in activity diagram
What is the specilized index of a given class diagram

Categories

HOME
c++11
mysql-workbench
dojo
tail
settings
google-admin-sdk
lanczos
discrete-mathematics
mautic
intercom
pybossa
zerobrane
atlassian
google-content-api
git-extensions
enterprise-miner
drive
imageresizer
tosca
roundup
openmdao
playstation-portable
simplecv
filesystemwatcher
loading
vmware-fusion
avcapturedevice
jboss-4.2.x
lampp
jquery-ui-draggable
serde
twilio-click-to-call
seq
type-theory
reachability
smartfoxserver
tooleap
jclouds
cassia
stream-processing
phpwebsocket
createprocess
ellucian-scribe
design-principles
jbase
sapi
rdflib
jsvc
botan
cwrsync
ansi
fail2ban
entity-framework-4.3
android-broadcast
broadband
big-ip
iso-prolog
jqmodal
fpdi
android-audiorecord
accesscontrolexception
isqlquery
cnf
twisted.web
qi4j
kqueue
virtualpathprovider
agility.js
google-floodlight
entitydatasource
mtu
skype4java
tui
lemmatization
wspbuilder

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile