Update readme
This commit is contained in:
16
README.md
16
README.md
@ -94,25 +94,21 @@ WS --> Vis: WebSockets
|
||||
### WebSockets
|
||||
|
||||
```plantuml
|
||||
participant Game as "FairHopper\nGame Server"
|
||||
box "FairHopper Game Server" #lightcyan
|
||||
participant Game as "Game Engine"
|
||||
participant WS as "WS Server"
|
||||
endbox
|
||||
participant Client1 as "Visualisation\nClient 1"
|
||||
participant Client2 as "Visualisation\nClient 2"
|
||||
|
||||
Game ->o WS: Server Connect
|
||||
activate WS #coral
|
||||
WS -> Game: Get game state
|
||||
activate Game #yellow
|
||||
Game -> WS: Game state
|
||||
deactivate
|
||||
deactivate
|
||||
Game ->o WS: Send initial state
|
||||
|
||||
Client1 ->o WS: Client Connect
|
||||
Client1 ->o WS: Client connect
|
||||
activate WS #coral
|
||||
WS -> Client1: Game state
|
||||
deactivate
|
||||
|
||||
Client2 ->o WS: Client Connect
|
||||
Client2 ->o WS: Client connect
|
||||
activate WS #coral
|
||||
WS -> Client2: Game state
|
||||
deactivate
|
||||
|
||||
Reference in New Issue
Block a user