# lthahoon/gamenetworkproject architecture

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

- Interactive diagram: https://gitdiagram.com/lthahoon/gamenetworkproject
- Repository: https://github.com/lthahoon/gamenetworkproject

## Overview

This Unity project appears to be a networked coin-collection game. The tree identifies gameplay, networking, player-state, and UI scripts, plus a scene and player/coin prefabs, but no README or source excerpts were provided. The graph therefore preserves the apparent runtime components while marking inferred interactions as dashed and unverified; it does not assert a particular networking service or a confirmed execution order.

Main entry points: [`이태훈_GameNetwork/CoinGame/Assets/Scenes/CoinGameScene.unity`](https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Scenes/CoinGameScene.unity) (Game Scene), [`이태훈_GameNetwork/CoinGame/Assets/Script/NetworkPlayerController.cs`](https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/NetworkPlayerController.cs) (Player Controller), [`이태훈_GameNetwork/CoinGame/Assets/Script/NetworkConnector.cs`](https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/NetworkConnector.cs) (Network Connector), [`이태훈_GameNetwork/CoinGame/Assets/Script/NetworkPlayerManager.cs`](https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/NetworkPlayerManager.cs) (Player Manager)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_network["Networking"]
  node_connector["Network Connector"]
  node_manager["Player Manager"]
end

subgraph group_gameplay["Game World"]
  node_scene["Game Scene"]
  node_player_controller["Player Controller"]
  node_spawner["Coin Spawner<br/>[Spawner.cs]"]
  node_coin_controller["Coin Controller"]
  node_coin_prefab["Coin Prefab<br/>[Coin.prefab]"]
  node_player_prefab["Player Prefab<br/>[Player.prefab]"]
end

subgraph group_player["Player State"]
  node_account["Player Account<br/>[PlayerAccount.cs]"]
  node_stats["Player Stats"]
end

subgraph group_ui["Player UI"]
  node_account_view["Account View"]
  node_stats_view["Stats View<br/>[PlayerStatView.cs]"]
end

node_player_user(("Player"))

node_player_user -.->|"plays"| node_scene
node_scene -.->|"initializes"| node_connector
node_connector -.->|"configures"| node_manager
node_manager -.->|"spawns"| node_player_prefab
node_player_prefab -.->|"uses"| node_player_controller
node_scene -.->|"initializes"| node_spawner
node_spawner -.->|"spawns"| node_coin_prefab
node_coin_prefab -.->|"uses"| node_coin_controller
node_player_controller -.->|"updates"| node_stats
node_player_controller -.->|"uses"| node_account
node_account_view -.->|"displays"| node_account
node_stats_view -.->|"displays"| node_stats

click node_scene "https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Scenes/CoinGameScene.unity"
click node_connector "https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/NetworkConnector.cs"
click node_manager "https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/NetworkPlayerManager.cs"
click node_player_controller "https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/NetworkPlayerController.cs"
click node_spawner "https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/Spawner.cs"
click node_coin_controller "https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/NetworkCoinController.cs"
click node_coin_prefab "https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Prefab/Coin.prefab"
click node_player_prefab "https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Prefab/Player.prefab"
click node_account "https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/PlayerAccount.cs"
click node_stats "https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/NetworkPlayerStatController.cs"
click node_account_view "https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/PlayerAccountView.cs"
click node_stats_view "https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/PlayerStatView.cs"

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_connector,node_manager toneBlue
class node_scene,node_player_controller,node_spawner,node_coin_controller,node_coin_prefab,node_player_prefab toneAmber
class node_account,node_stats toneMint
class node_account_view,node_stats_view toneRose
class node_player_user toneIndigo
```

## Components

### Networking

- [Network Connector](https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/NetworkConnector.cs): `이태훈_GameNetwork/CoinGame/Assets/Script/NetworkConnector.cs`
- [Player Manager](https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/NetworkPlayerManager.cs): `이태훈_GameNetwork/CoinGame/Assets/Script/NetworkPlayerManager.cs`

### Game World

- [Game Scene](https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Scenes/CoinGameScene.unity): `이태훈_GameNetwork/CoinGame/Assets/Scenes/CoinGameScene.unity`
- [Player Controller](https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/NetworkPlayerController.cs): `이태훈_GameNetwork/CoinGame/Assets/Script/NetworkPlayerController.cs`
- [Coin Spawner](https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/Spawner.cs): `이태훈_GameNetwork/CoinGame/Assets/Script/Spawner.cs`
- [Coin Controller](https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/NetworkCoinController.cs): `이태훈_GameNetwork/CoinGame/Assets/Script/NetworkCoinController.cs`
- [Coin Prefab](https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Prefab/Coin.prefab): `이태훈_GameNetwork/CoinGame/Assets/Prefab/Coin.prefab`
- [Player Prefab](https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Prefab/Player.prefab): `이태훈_GameNetwork/CoinGame/Assets/Prefab/Player.prefab`

### Player State

- [Player Account](https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/PlayerAccount.cs): `이태훈_GameNetwork/CoinGame/Assets/Script/PlayerAccount.cs`
- [Player Stats](https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/NetworkPlayerStatController.cs): `이태훈_GameNetwork/CoinGame/Assets/Script/NetworkPlayerStatController.cs`

### Player UI

- [Account View](https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/PlayerAccountView.cs): `이태훈_GameNetwork/CoinGame/Assets/Script/PlayerAccountView.cs`
- [Stats View](https://github.com/lthahoon/gamenetworkproject/blob/main/%EC%9D%B4%ED%83%9C%ED%9B%88_GameNetwork/CoinGame/Assets/Script/PlayerStatView.cs): `이태훈_GameNetwork/CoinGame/Assets/Script/PlayerStatView.cs`

### Other components

- **Player**

## Connections

- Player → Game Scene: plays
- Game Scene → Network Connector: initializes
- Network Connector → Player Manager: configures
- Player Manager → Player Prefab: spawns
- Player Prefab → Player Controller: uses
- Game Scene → Coin Spawner: initializes
- Coin Spawner → Coin Prefab: spawns
- Coin Prefab → Coin Controller: uses
- Player Controller → Player Stats: updates
- Player Controller → Player Account: uses
- Account View → Player Account: displays
- Stats View → Player Stats: displays
