aboutsummaryrefslogtreecommitdiff
path: root/Mussel/examples/voting
diff options
context:
space:
mode:
Diffstat (limited to 'Mussel/examples/voting')
-rw-r--r--Mussel/examples/voting/voting.puml15
1 files changed, 15 insertions, 0 deletions
diff --git a/Mussel/examples/voting/voting.puml b/Mussel/examples/voting/voting.puml
new file mode 100644
index 0000000..8460d90
--- /dev/null
+++ b/Mussel/examples/voting/voting.puml
@@ -0,0 +1,15 @@
+@startuml
+'start
+:instantiate object;
+group init
+:activate object;
+end group
+while (each ½s)
+group loop {
+:register 3 fake votes;
+:fetch and print voting tally;
+end group
+endwhile
+-[hidden]->
+kill
+@enduml