# hazard103508/demo-supermariobros architecture

> Architecture diagram of the GitHub repository hazard103508/demo-supermariobros, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/hazard103508/demo-supermariobros
- Repository: https://github.com/hazard103508/demo-supermariobros

## Overview

This is a Unity Super Mario Bros game project documenting levels 1-1 and 1-2 and keyboard controls. The tree shows application services, shared UI, and categorized game content; source excerpts were unavailable, so runtime call relationships cannot be verified and are omitted.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application services"]
  node_input["Input service<br/>[InputService.cs]"]
  node_gameplay["Gameplay service<br/>[GameplayService.cs]"]
  node_level["Level service<br/>[LevelService.cs]"]
  node_player_service["Player service<br/>[PlayerService.cs]"]
  node_pause["Pause service<br/>[PauseService.cs]"]
  node_scene["Scene service<br/>[SceneService.cs]"]
  node_coin["Coin service<br/>[CoinService.cs]"]
  node_score["Score service<br/>[ScoreService.cs]"]
  node_time["Time service<br/>[TimeService.cs]"]
  node_audio["Sound service<br/>[SoundService.cs]"]
  node_addressables["Addressables service"]
  node_pool["Pool service<br/>[PoolService.cs]"]
  node_service_manager["Service manager<br/>[ServiceManager.cs]"]
end

subgraph group_shared["Shared UI"]
  node_ui_scripts["HUD scripts"]
  node_ui_prefabs["HUD prefabs"]
  node_game_events["Game events"]
end

subgraph group_content["Game content"]
  node_game_content["Levels and assets"]
  node_addressable_groups[("Addressable catalog")]
end

node_player(("Player"))

click node_input "https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/InputService.cs"
click node_gameplay "https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/GameplayService.cs"
click node_level "https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/LevelService.cs"
click node_player_service "https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/PlayerService.cs"
click node_pause "https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/PauseService.cs"
click node_scene "https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/SceneService.cs"
click node_coin "https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/CoinService.cs"
click node_score "https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/ScoreService.cs"
click node_time "https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/TimeService.cs"
click node_audio "https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/SoundService.cs"
click node_addressables "https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/AddressablesService.cs"
click node_pool "https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/PoolService.cs"
click node_service_manager "https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/ServiceManager.cs"
click node_ui_scripts "https://github.com/hazard103508/demo-supermariobros/tree/master/Assets/Mario/Commons/Scripts/UI"
click node_ui_prefabs "https://github.com/hazard103508/demo-supermariobros/tree/master/Assets/Mario/Commons/Prefabs/UI"
click node_game_events "https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Commons/Scripts/ScriptableObjects/GameEventProfile.cs"
click node_game_content "https://github.com/hazard103508/demo-supermariobros/tree/master/Assets/Mario/Game"
click node_addressable_groups "https://github.com/hazard103508/demo-supermariobros/tree/master/Assets/AddressableAssetsData/AssetGroups"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_input,node_gameplay,node_level,node_player_service,node_pause,node_scene,node_coin,node_score,node_time,node_audio,node_addressables,node_pool,node_service_manager toneBlue
class node_ui_scripts,node_ui_prefabs,node_game_events toneAmber
class node_game_content,node_addressable_groups toneMint
class node_player toneIndigo
```

## Components

### Application services

- [Input service](https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/InputService.cs): `Assets/Mario/Application/Scripts/Services/InputService.cs`
- [Gameplay service](https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/GameplayService.cs): `Assets/Mario/Application/Scripts/Services/GameplayService.cs`
- [Level service](https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/LevelService.cs): `Assets/Mario/Application/Scripts/Services/LevelService.cs`
- [Player service](https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/PlayerService.cs): `Assets/Mario/Application/Scripts/Services/PlayerService.cs`
- [Pause service](https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/PauseService.cs): `Assets/Mario/Application/Scripts/Services/PauseService.cs`
- [Scene service](https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/SceneService.cs): `Assets/Mario/Application/Scripts/Services/SceneService.cs`
- [Coin service](https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/CoinService.cs): `Assets/Mario/Application/Scripts/Services/CoinService.cs`
- [Score service](https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/ScoreService.cs): `Assets/Mario/Application/Scripts/Services/ScoreService.cs`
- [Time service](https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/TimeService.cs): `Assets/Mario/Application/Scripts/Services/TimeService.cs`
- [Sound service](https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/SoundService.cs): `Assets/Mario/Application/Scripts/Services/SoundService.cs`
- [Addressables service](https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/AddressablesService.cs): `Assets/Mario/Application/Scripts/Services/AddressablesService.cs`
- [Pool service](https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/Services/PoolService.cs): `Assets/Mario/Application/Scripts/Services/PoolService.cs`
- [Service manager](https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Application/Scripts/ServiceManager.cs): `Assets/Mario/Application/Scripts/ServiceManager.cs`

### Shared UI

- [HUD scripts](https://github.com/hazard103508/demo-supermariobros/tree/master/Assets/Mario/Commons/Scripts/UI): `Assets/Mario/Commons/Scripts/UI`
- [HUD prefabs](https://github.com/hazard103508/demo-supermariobros/tree/master/Assets/Mario/Commons/Prefabs/UI): `Assets/Mario/Commons/Prefabs/UI`
- [Game events](https://github.com/hazard103508/demo-supermariobros/blob/master/Assets/Mario/Commons/Scripts/ScriptableObjects/GameEventProfile.cs): `Assets/Mario/Commons/Scripts/ScriptableObjects/GameEventProfile.cs`

### Game content

- [Levels and assets](https://github.com/hazard103508/demo-supermariobros/tree/master/Assets/Mario/Game): `Assets/Mario/Game`
- [Addressable catalog](https://github.com/hazard103508/demo-supermariobros/tree/master/Assets/AddressableAssetsData/AssetGroups): `Assets/AddressableAssetsData/AssetGroups`

### Other components

- **Player**
