-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finished creation of sequence diagrams
- Loading branch information
Timm Weber
committed
Mar 17, 2024
1 parent
873fb01
commit 5550b2c
Showing
6 changed files
with
71 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
@startuml | ||
title Create Player Profile | ||
title Edit Player Profile | ||
|
||
actor Player | ||
database System | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@startuml | ||
title Host Game | ||
|
||
actor Player as p | ||
database System | ||
|
||
p->System: Click Multiplayer Button | ||
System->p: Display Multiplayer Menu | ||
p->System: Click Create a new online game Button | ||
System->System: Host Server locally | ||
System->p: Display Multiplayer Lobby | ||
System->Network: Send advertisements | ||
System->System: Wait for other players to join | ||
|
||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@startuml | ||
title Join Game | ||
|
||
actor Player as p | ||
database System | ||
database Server as s | ||
|
||
p->System: Click Multiplayer Button | ||
System->p: Display Multiplayer Menu | ||
p->System: Click Join by address Button | ||
System->p: Show IP-Address Input field | ||
p->System: Enter IP-Address | ||
p->System: Click Connect Button | ||
System->s: Join Lobby | ||
s->System: Send Server information | ||
System->p: Display Game Lobby | ||
p->System: Click Ready Button | ||
System->s: Get Ready | ||
s->s: Wait for other Player to get ready | ||
|
||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@startuml | ||
title Leave Game | ||
|
||
actor Player as p | ||
database System | ||
database Server as s | ||
actor Player2 as p2 | ||
|
||
p->System: Click Menu Button | ||
System->s: Player disconnected | ||
System->s: Close connection | ||
System->p: Show Main Menu | ||
s->p2: You have won | ||
s->p2: Close Connection | ||
s->s: Terminate | ||
|
||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@startuml | ||
title Send Chat Message | ||
|
||
actor Player as p | ||
database System | ||
database Server as s | ||
actor Player2 as p2 | ||
|
||
p->System: Click on the message entry box | ||
p->p: Enter message | ||
p->System: Click Send Button | ||
System->s: Send chat message | ||
s->p2: Send chat message | ||
s-> System: Send chat message | ||
System->p: Display chat message | ||
|
||
@enduml |