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 model logic of complex operations [closed]
How to structure a UML (Enterprise Architect) project
How can I import/use a class diagramm from Enterprise Architect in my Xtext DSL?
Benefits of using UML models in software maintenance?
UML component diagram named association to show dependency between components
Project and software analysis - where to begin?
Defining a metamodel
UML Use case Specification for an Extended Use Case
how to make complex large uml class diagram into simple understandable way
From user stories to sequence diagram
Where can I give a name to an assembly connector in a component diagram?
UML use case: listing vs diagram
how do i avoid a circular relationship in my class diagram
circular reference in class diagram
uml component diagram dependency between system and component of other system
What is the difference between a 'Call Behavior' and 'Call Operation' action in fUML?

Categories

HOME
api
ns-3
saml-2.0
graphics
can
replace
nsbundle
mips
ado.net
crystal-lang
webix
fosrestbundle
dkim
startup
emoji
keytool
event-sourcing
job-scheduling
chargify
forgot-password
replication
symbols
squashfs
ios10.2
string-concatenation
epsilon
jquery-multiselect
jasmine-node
sqlpackage
mockjax
weather
database-comparison
kodi
keras-layer
hunspell
numpy-broadcasting
salesforce-communities
reactivekit
z-notation
spring-mvc-test
c9.io
visa
wmp
claims
apache-spark-dataset
vaadin-charts
puredata
ntvs
openal
builder
insight
corruption
spring-data-couchbase
payload
mach-o
trigger.io
android-instrumentation
choice
taocp
atlas
greatest-n-per-group
drawstring
dimension
vorpal.js
appscale
http-status-code-401
nss
turbo-prolog
sapi
vigenere
wso2greg
ansi
git-ftp
aspectj-maven-plugin
java-security
document-repository
rapidsvn
primitive-types
machine-instruction
imagefilter
wcm
winginx
synapse
qscrollarea
xmltodict
away3d
oocss
jquery-1.9
mysql-error-2013
extreme-programming
dajaxice
usertype
matlab-load
lr
pylucene
mbeans
rowlex
glui
complex-event-processing
xslcompiledtransform
change-management
great-circle

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App