From 8767140cd72eff001fa53e6719c93527a656c351 Mon Sep 17 00:00:00 2001 From: David Evans Date: Wed, 25 Oct 2017 00:41:16 +0100 Subject: [PATCH] Prettify conditional logic readme example --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 4608de6..c453f56 100644 --- a/README.md +++ b/README.md @@ -72,11 +72,13 @@ state over Foo: Foo is ponderous ``` title At the bank +begin Person, ATM, Bank Person -> ATM: Request money ATM -> Bank: Check funds if fraud detected Bank -> Police: "Get 'em!" Police -> Person: "You're nicked" + end Police else if sufficient funds ATM -> Bank: Withdraw funds repeat until all requested money handed over