Commit 1b9ad6a1 authored by Joseph NISON--GUYON's avatar Joseph NISON--GUYON
Browse files

Correction d'erreurs dans le diagramme

Ajout de liaisons avec lieu/CarteTraque/CarteSurvie
Post-it unfinished retirés
parent 88d898bc
......@@ -127,7 +127,7 @@ interface Lieu.ts{
id: number
name: string
}
class GameProxy.ts {
class GameProxyinTS {
thriftClient: Client<CoreOptions>
createGame(numberOfPlayers: number): Promise<number>
......@@ -151,7 +151,7 @@ class GameProxy.ts {
defausserCarteTraque(gameId: number, carte: string): void
}
class Playerservice.ts {
class PlayerserviceinTS {
traque: Traque
creature: Creature
role: string
......@@ -245,9 +245,14 @@ class GameServiceHandler {
}
GameProxy.ts "1" -- "1..6" Traque.ts
GameProxy.ts "1" -- "1" Creature.ts
PlayerProxy "1" -- "1" Playerservice.ts
GameProxyinTS "1" ---- "1..6" Traque.ts
GameProxyinTS "1" ---- "1" Creature.ts
PlayerProxy .. PlayerserviceinTS
Traque.ts *-- "[0-*] main" CarteSurvie.ts
Traque.ts *-- "[0-10] main" Lieu.ts
Traque.ts *-- "[0-10] defausse" Lieu.ts
Traque.ts *-- "[0-5] reserve" Lieu.ts
Creature.ts *-- "[0-3] main" CarteTraque.ts
GameInterface <|-- GameControlleur
Traque <|-- PlayerProxy
Creature <|-- PlayerProxy
......@@ -257,10 +262,13 @@ PlayerProxy *-- "[0-*] main" CarteSurvie
PlayerProxy *-- "[0-3] main" CarteTraque
Game *-- "[2-7] joueurs" PlayerInterface
GameServiceHandler <-- GameInterface
GameProxy.ts .. GameServiceHandler
GameProxyts .. GameServiceHandler
GameControlleur *-- Game
GameControlleur <-- "creature" Creature
GameControlleur *-- "traque" Traque
note right of GameProxyinTS: in typeScript
note right of PlayerserviceinTS: in typeScript
....
== Game Server
......@@ -300,7 +308,6 @@ package game {
traque --|> player
}
note right of game: Uncompleted!
....
[plantuml]
......@@ -316,7 +323,6 @@ state Game {
Phase4 --> [*] : victory condition
}
}
note right of Game : Uncompleted!
....
victory condition = `"Game::secours == 0 OR Game::assimilation == 0"`
......
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