Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
flmichel committed Jul 30, 2023
1 parent 403f712 commit ff792f4
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Architecture

The gaming platform is composed of the different elements:

1. A player
2. A remote
3. A [game](documentation/game.md)
4. A server api
5. A stun server

![](documentation/diagram/context.svg)
2 changes: 1 addition & 1 deletion documentation/diagram/component_game.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion documentation/diagram/containers_definition.puml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Container(game, "Game", "Rust", "Game which runs on a computer (Linux, Mac OS X,
Container(remote, "Remote", "JavaScript", "Web applicaiton accessed from a smartphone that is the remote for the game")
!endprocedure
!unquoted procedure server_api()
Container(server_api, "Server API", "Rust", "Provides Internet banking functionality via API", $tags="backendContainer")
Container(server_api, "Server API", "Rust", "Act as a Signaling server to enable connection between the Remote and the Game", $tags="backendContainer")
!endprocedure
!unquoted procedure stun()
System_Ext(stun, "STUN Server", "The STUN server used to establish WebRTC connections")
Expand Down
2 changes: 1 addition & 1 deletion documentation/diagram/context.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions documentation/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
The gaming platform is composed of the different elements:

1. A player
2. A [remote](remote.md)
2. A remote.md
3. A [game](game.md)
4. A [server api](server_api.md)
4. A server_api.md
5. A stun server

![](diagram/context.svg)

0 comments on commit ff792f4

Please sign in to comment.