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 do I show relationships in Enterprise Architect
TopCoder UML tool: How to create Swimlanes?
UML2 Activity Diagram: Object Flow and Control Flow
Aggregation multiplicity UML
Recursion in OCL
What is the initiating actor for the usecase shown here
How to make UML diagram for USER-ROLE with a Organisation
What to write in this contract
the differences between component diagram and package diagram
UML State Machine ShallowHistory
UML diagrams for massage chair [closed]
Class digram to Usecase
How should I denote static classes in UML?
How can I tell which one is a superclass in UML diagram
More than one object on a UML state machine?
UML diagrams: Showing inheritance of a vector of pointers to a class

Categories

HOME
adal
gdb
c99
telegram
composite-primary-key
switch-statement
jax-ws
rcloud
arangodb
owin
android-securityexception
emoji
opengl-es-3.0
automatic-ref-counting
cumulocity
docx
libusb
dynamic-sql
feathersjs
production
bourbon
googlebot
epsilon
gmock
inversion-of-control
winexe
ntp
magento-1.8
kudu
deltaspike
baidu-map
imx6
sharepoint-workflow
openproject
watchman
projects-and-solutions
apns-php
verifiable-c
metaprogramming
p4merge
setup.py
magento-1.9.3
xv6
dbnull
chronicle-map
wc
apache-directory
memory-mapping
openresty
twilio-click-to-call
singleinstance
context-switch
opengl-4
reshape
redbeard-ios
adafruit
flex4.6
file-uri
lean
google-query-language
stream-processing
bizagi
data-protection
ellucian-scribe
phonertc
page.js
sony-lifelog-api
finalbuilder
liquid-layout
actionfilterattribute
sonarqube-5.0
metatrader5
machine-instruction
unix-socket
build-script
alternate
square-bracket
getopt
accesscontrolexception
http-patch
c++builder-xe5
away3d
cocoalibspotify-2.0
diem
android-icons
web-notifications
dopostback
onmousemove
xcode3.2
entitydatasource
jqote
tournament
umra
cloudfiles
office-2007
binomial-heap
build-environment
sifr3
great-circle
idatareader

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