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

Is my Activity diagramm correct?
process model vs.activity diagram
Class Diagram: Aggregation or Composition
What is the difference between OWL and UML in the Software Engineering Process
What does 0..* mean in a uml sequence diagram
Extended use case help! UML
Nested OCL forAlls
Include Use Case Diagram (UML)
Sequence diagram UML 2.0 questions
Sending conditional messages in a uml communication diagram
extend for use case modeling query
Enterprise Architect Forward Engineering (UML Model to C++ )
Merging entities - Enterprise Architect
Best practice to implement composition and aggregation
UML - How to show a class instantiated by its static main method
What is the best way to structure these use cases?

Categories

HOME
service-worker
google-app-engine
google-cloud-platform
porting
jpa
google-spreadsheet
datastore
ns-3
mjml
alsa
zip
mvc5
azure-container-service
odoo-8
performancepoint
fabric.io
openstreetmap
windows-ce
emoji
spring-social
esoteric-languages
symfony-2.8
swagger-2.0
boost-icl
topology
babel
slidetoggle
interbase
corpus
asymptotic-complexity
underscore.js
handler
jaws
boost-asio
userdefaults
livelink
quickfixj
dsx-desktop
indy10
navigator
apic
docfx
cd
railstutorial.org
unordered-map
setup.py
attributeerror
file-sharing
drupal-theming
apache-directory
stylecop
nanoc
opennms
tf
modelsim
truezip
skin
janus
restore
slackware
usart
reporting-services-2012
redbeard-ios
myspace
vorpal.js
eigenvector
user-management
rasterize
decimalformat
avisynth
rubaxa-sortable
binomial-theorem
coda
ember-cli-rails
liquid-layout
matlab-deployment
exceldatareader
xml-dsig
light
isqlquery
mvc-editor-templates
cardreader
dopostback
frameworkelementfactory
jquery-blockui
iboutlet
ilasm
expression-blend-4
update-statement
listactivity
lr
rmdir
umra
inline-formset
delimited-text
folding
wcf-instancing
google-wave
idatareader

Resources

Encrypt Message