Diagram for domain.model
%%{init: {"theme": "default"}}%%
flowchart LR
%% Model %%
subgraph "<b>domain.model</b>"
direction LR
subgraph "<b>model.game</b>"
Game
Round
Phase
Dice
Utils
end
subgraph "<b>model.deck</b>"
Deck
end
subgraph "<b>model.player</b>"
Player
Colors
Avatars
Names
end
subgraph "<b>model.map</b>"
WorldMap
Continent
Territory
end
subgraph "<b>model.cards</b>"
Card
ChanceCard
ArmyCard
TerritoryCard
end
end
Diagram for domain.controller
%%{init: {"theme": "default"}}%%
flowchart LR
subgraph "<b>controller</b>"
direction LR
subgraph "<b>controller.app</b>"
App
Router
MapController
PlayersController
GameController
end
subgraph "<b>controller.listeners</b>"
GameListeners
MapListeners
ChanceCardListeners
end
end
Diagram for view
%%{init: {"theme": "default"}}%%
flowchart LR
%% View %%
subgraph "<b>view</b>"
direction LR
subgraph "<b>view.screens</b>"
LoginView
PlayerView
AddPlayerView
BuildView
GameView
MenuView
HelpView
GameOverView
end
subgraph "<b>view.components</b>"
direction TB
subgraph "<b>view.components.panel</b>"
direction LR
PhasePanel
OptionsPanel
MenuPanel
PlayersPanel
ScorePanel
ArmyExchangePanel
TerritoryCardPanel
ArmyCardPanel
ChanceCardPanel
InventoryPanel
end
subgraph "<b>view.components.input</b>"
IconButton
PanelButton
TextInput
AvatarPicker
ColorPicker
PlayerPreview
end
subgraph "<b>view.components.router</b>"
View
end
subgraph "<b>view.components.map</b>"
MapComponent
BuildPanel
end
end
subgraph "<b>view.graphics</b>"
MapGraphics
PanelGraphics
AvatarGraphics
ColorGraphics
end
end