diff --git a/Diagrammes-UML.md b/Diagrammes-UML.md index edb8187..c634ffe 100644 --- a/Diagrammes-UML.md +++ b/Diagrammes-UML.md @@ -6,6 +6,8 @@ # Sequence Diagram +![](SAE201_SequenceDiagram.svg) + # Architecture Description Notre application s'articule autour d'une classe principale, la classe Game. Celle-ci est entourée par la quasi-totalité des autres classes. diff --git a/SAE201_SequenceDiagram.svg b/SAE201_SequenceDiagram.svg new file mode 100644 index 0000000..37fc68a --- /dev/null +++ b/SAE201_SequenceDiagram.svg @@ -0,0 +1,4 @@ + + + +
Player1
Game
PlaceTile(tile, x, y)
Board
Cell
ALT
LOOP
IsMoveCorrect(tile, x, y)
[Move is correct]
[Move is not correct]
[While player can/wants to play]
AddTileInCell(x, y, tile)
return true
Player2
return true
return false
return false
SetNextPlayer()
PlaceTileNotifiedEventArgs(tile, reason)
PlaceTileNotifiedEventArgs(tile, reason)
NextPlayerNotifiedEventArgs(player)
\ No newline at end of file