@startuml skinparam shadowing false 'skinparam backgroundColor #LightGreen skinparam handwritten true participant Alice box "Everscale" #LightBlue participant Repository participant SEW end box participant Bob Alice -> Alice: <generate> **notice** activate Alice Alice -> Alice: <make> **chose (S|E|W)** Alice -> SEW: <bid> **sha256** of **chose+notice** (start game) activate SEW #LightSalmon Alice -> Alice: <encrypt> **notice** Alice <-> Repository: <send> **encrypted notice** activate Repository #LightSalmon Bob <-> SEW: <get> **status game** activate Bob Bob <-> SEW: <bid> **chose (S|E|W)** Alice <-> SEW: <get> **status game** Alice <-> Repository: <get> **encrypted notice** Alice -> Alice: <decipher> **notice** Alice -> SEW: <send> **chose+notice** (end game) alt Alice win case SEW -> Alice: <transfer> **reward** else Bob win case SEW -> Bob: <transfer> **reward** deactivate Bob else Standoff case SEW -> SEW: <increment bank> **jackpot** end deactivate SEW Alice <-> Repository: <delete> **encrypted notice** deactivate Alice deactivate Repository @enduml
Decode URL
Submit
amiga
aws-orange
black-knight
bluegray
blueprint
cerulean-outline
cerulean
crt-amber
crt-green
cyborg-outline
cyborg
hacker
lightgray
mars
materia-outline
materia
metal
mimeograph
minty
plain
reddress-darkblue
reddress-darkgreen
reddress-darkorange
reddress-darkred
reddress-lightblue
reddress-lightgreen
reddress-lightorange
reddress-lightred
sandstone
silver
sketchy-outline
sketchy
spacelab
spacelab-white
superhero-outline
superhero
toy
united
vibrant
🎉 Discover the future PlantUML Web Editor! 🚀
PNG
SVG
ASCII Art