Commit 067282ea authored by Antoine Guérin's avatar Antoine Guérin
Browse files

Diagramme de séquence phase 1

parent e9a9593a
......@@ -13,10 +13,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)
......@@ -29,6 +38,7 @@ ServeurNotAlone<-Caroline_ClientWeb: join("MyPassWord")
ClientWeb->ServeurNotAlone: playGame()
....
[.lead]
......@@ -36,6 +46,7 @@ ClientWeb->ServeurNotAlone: playGame()
Diagramme de séquence pour la phase 1 :
[plantuml, diag-seq-phase1, png]
....
skinparam monochrome true
......@@ -43,8 +54,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
....
Markdown is supported
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