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

Bank Automation Teller Machine (ATM) use-case diagram, is “Login” is a “use-case”
Are UML diagrams only for Object oriented approach?
If a task is done by system itself, should it be a part of use case diagram?
Program exit, functioncall in conditional in sequence diagrams
Designing a sequence diagram for an auction system
UML 2.0 Use case diagrams extend
Dia : the diagram editor : limits on box objects?
Need opinions/hints on a design
Does it exist a complete chain tool that allows to manage requirements (e.g. ProR), realize UML diagrams, develop code and perform test?
How to draw UML 2.0 notation diagram with template for visio 2010
Can a use case have several <<include>> cases?
Should there be Use cases = Functional requirements?
Do you make a Use Case Narrative of a general use case?
Add data types ERD
What is the difference between a use case actor and an event table source?
What is the relationship between a card and deck in a Class Diagram (Texas Hold 'em)?

Categories

HOME
azure-stream-analytics
design-patterns
case
static
graphics
vscode-extensions
javacc
yandex
tivoli
aws-cli
trac
boto3
modal-dialog
recordrtc
okhttp
jquery-ui-sortable
plist
resultset
renjin
magnetic-cards
azure-iot-hub
aws-sdk
google-container-registry
pylons
outliers
rpgle
cppreference
alm
eviews
autolisp
laravel-eloquent
pop3
indy10
google-knowledge-graph
sql-server-ce
git-rewrite-history
apns-php
resolution
postgresql-8.4
placeholder
vaadin-charts
vaadin-elements
truezip
opengl-4
type-theory
bootstrap-tags-input
visual-studio-2008-sp1
pytables
rspec2
appscale
http-status-code-401
findfirst
httpruntime.cache
relativelayout
rate-limiting
mod-proxy
finalbuilder
jdk1.7
zend-currency
infosphere-spl
cosine-similarity
iiop
sonarqube-5.0
rickshaw
entry-point
device-tree
linkedin-jsapi
named-parameters
winginx
multitasking
artemis
video-codecs
onload-event
mantle
bjyauthorize
monotouch.dialog
jquery-blockui
fusefabric
jsr286
jquery-address
luabind
entity-attribute-value
clrstoredprocedure
strsep
glui
sun
software-lifecycle
change-management
wspbuilder
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