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

Whether or not inclusion of System as an Actor in Use Case Diagram when it is implicitly doing work
UML drawing tool with round-trip support
How to properly model system requirements in UML (Sparx Enterprise Architect)
can I connect the actor to a user case and its included use case?
UML: Derived class instantiates other derived class of same base
Benefits of using set of entites
Not exactly following what is depicted on project UML diagrams
UML 2.0 Can I have an bidirectional extend relationship in between use cases?
What is the use of control classes?
How to show “if” condition without else in sequence diagram
How to open txvpck files? (JBuilder UML diagrams)
How do we model send HTTP request in UML activity diagrams
Create a complex package diagram with GraphViz
Functional decomposition vs use case
Should I include private methods into UML class diagram?
UML sequence Diagram duplicate methods

Categories

HOME
uml
spark-streaming
gdb
apache-flink
rdbms
formal-languages
case
youtube-data-api-v3
static
fftw
saml-2.0
alarm
google-apps
permissions
zip
x264
missing-data
vert.x
fosrestbundle
little-proxy
siddhi
ipmitool
tput
code-generation
heat
symfony-2.8
jersey-1.0
soci
undertow
moses
delimiter
amazon-quicksight
progress-bar
bringtofront
iis-express
google-earth
scatter3d
dst
record
installshield-le
modalviewcontroller
browser-extension
least-squares
raft
google-earth-engine
dm-script
cd
bc
recurrent-neural-network
signals-slots
softmax
knime
xmldocument
file-sharing
ntvs
magento-2.0.7
reindex
tinkerpop
headless
objectscript
vibrate
android-instrumentation
cudd
simplepie
pytables
jtwig
dbamp
boost-serialization
nullable
np-spring
false-sharing
relativelayout
roadkill-wiki
morton-number
django-urls
canalyzer
rpart
lasso
canvg
showdialog
genymotion-call
paw
functional-java
git-repo
jammer
rolify
video-codecs
booksleeve
idn
fitbounds
winmain
qglwidget
opml
escrow
fail-fast-fail-early

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App