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

Changing diagram notation to UML in Visual Paradigm
Association of n to 1 objects in a UML class diagram
free, cheap or open source UML and Visio-like tool [closed]
Drawing UML state diagrams
Source code to class diagram generation
How to make a line straight in StarUML
How model statemachine, when state is dependent on a function?
Entity Relationship diagram - Composition
Software engineering: friend is a user on a UML model [closed]
use case tutorial
Software for Sequence Diagrams?
uml 2.0 sequence diagram: is a reply message obligatory when modeling a synchronous message
Why does each box in a UML state diagram have three sections? [closed]
Is there such a thing as a use case relationship diagram? [closed]
Star UML: how to add get/set properties
What's is the difference between include and extend in use case diagram?

Categories

HOME
batch-file
asp.net-web-api
phantom-dsl
httparty
google-cloud-platform
gridview
jpa
polymer
linkedin
string
gpu
themes
r-googlesheets
entity-framework-core
telegram-bot
pyqt4
google-admin-sdk
qpython
endeca
ipmitool
tput
supervisor
package-managers
dynamic-sql
production
guzzle
easeljs
mongoid6
aggregation
ckfinder
itunes
gpio
fable-f#
mat
progress-bar
sqlpackage
constexpr
kudu
paragraph
dumpbin
hibernate-validator
reverse
batching
magento-1.9.2.4
filesystemwatcher
p4merge
android-softkeyboard
avcapturedevice
signal-strength
vaadin-elements
httrack
xbmc
fclose
launchctl
tinymce-3
colorbar
skin
reachability
xdoclet
respondcms
spreadjs
sklearn-pandas
nullable
jbase
directdraw
sapi
poppler
vacuum
dronekit-android
actionfilterattribute
jjaql
wxformbuilder
websphere-esb
android-usb
spring-3
light
abstract-data-type
server-administration
cardreader
device-width
wcf-configuration
adobe-media-server
jdb
httponly
window-decoration
cgimage
gobject-introspection
catransform3d
android-holo-everywhere
strsep
collectionviewsource
vs-android
zend-rest
pos-for-.net
software-lifecycle
localizable.strings
movieplayer

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