32 lines
670 B
Plaintext
32 lines
670 B
Plaintext
SequenceDiagram [frame=true framecolor=steelblue label="Nouveau pari"] {
|
|
actor User
|
|
lifeline "OnlineBet" as web
|
|
|
|
|
|
|
|
User --> web "placer_un_pari(12,pariSimple,1,5000)"
|
|
activate web
|
|
lifeline "T1 : ticket" as ticket
|
|
web --> ticket "make_pari_simple(12,pariSimple,1,5000)"
|
|
|
|
activate ticket
|
|
ticket -r-> web "ticketvalidé"
|
|
User <-r- web "ok"
|
|
}
|
|
SequenceDiagram [frame=true framecolor=steelblue label="Pari impossible"] {
|
|
actor User
|
|
lifeline "OnlineBet" as web
|
|
|
|
|
|
|
|
User --> web "placer_un_pari(12,pariSimple,1,5000)"
|
|
activate web
|
|
lifeline "T1 : ticket" as ticket
|
|
|
|
|
|
|
|
|
|
User <-r- web "erreur(pas assez de jetons)"
|
|
deactivate web
|
|
}
|