Commit 2969c9aa authored by Antoine Guérin's avatar Antoine Guérin
Browse files

Diagramme de séquence phase 1

parent 7d12e7b5
......@@ -10,10 +10,19 @@ skinparam dpi 400
actor Albert
participant ClientWeb
participant ServeurNotAlone
participant Caroline_ClientWeb
actor Caroline
Albert->ClientWeb: play("Albert")
ClientWeb->ServeurNotAlone: newPlayer("Albert")
Caroline -> Caroline_ClientWeb: play("Caroline")
ServeurNotAlone<-Caroline_ClientWeb: newPlayer("Caroline")
ClientWeb->ServeurNotAlone: createGame("MyPassWord",extension)
......@@ -26,6 +35,7 @@ ServeurNotAlone<-Caroline_ClientWeb: join("MyPassWord")
ClientWeb->ServeurNotAlone: playGame()
....
[.lead]
......@@ -33,6 +43,7 @@ ClientWeb->ServeurNotAlone: playGame()
Diagramme de séquence pour la phase 1 :
[plantuml, diag-seq-phase1, png]
....
skinparam monochrome true
......@@ -40,8 +51,26 @@ skinparam dpi 400
actor Albert
Albert->ClientWeb: resiter(1)
participant ClientWeb
participant ServeurNotAlone
participant Caroline_ClientWeb
actor Caroline
Albert->ClientWeb: resister(nbPions)
ClientWeb->ServeurNotAlone: retirerPion(nbPions)
ClientWeb->ServeurNotAlone: reprendreCarte(nbPions*2)
ServeurNotAlone->Albert: choisirCarte()
Albert-->ServeurNotAlone: CarteLieu
Albert->ClientWeb: jouerCarte(CarteLieu)
Caroline->Caroline_ClientWeb:lacherPrise()
Caroline_ClientWeb->ServeurNotAlone:recupererPion(nbPions)
Caroline_ClientWeb->ServeurNotAlone:reprendreCarte(defausse.size())
Caroline_ClientWeb->ServeurNotAlone:avancerPionAssimilation()
Caroline->Caroline_ClientWeb: jouerCarte(CarteLieu)
ClientWeb->ServeurNotAlone
....
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment