# jinnnyjin/infectstellar_networkteamproject architecture

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

- Interactive diagram: https://gitdiagram.com/jinnnyjin/infectstellar_networkteamproject
- Repository: https://github.com/jinnnyjin/infectstellar_networkteamproject

## Overview

Infectstellar is a Unity multiplayer social-survival game: players cooperate to earn money and escape while one may be infected. The tree shows title and loading flows, Photon connection code, and an item/interactable system, but no gameplay, round, or networking source excerpts. The graph therefore preserves the documented game premise and visible systems while limiting relationships to the README’s stated player objective; it does not infer calls among the listed scripts.

Main entry points: [`Infectstellar/Assets`](https://github.com/jinnnyjin/infectstellar_networkteamproject/tree/main/Infectstellar/Assets) (Social survival)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_game["Game premise"]
  node_survival["Social survival"]
end

subgraph group_entry["Entry and services"]
  node_title["Title menus<br/>[MenuController.cs]"]
  node_menu_handler["Menu handling<br/>[MenuHandler.cs]"]
  node_nickname["Nickname entry"]
  node_loading["Loading<br/>[LoadingHelper.cs]"]
  node_photon_link["Photon connection"]
  node_photon_test["Photon test connect"]
  node_firebase_link["Firebase link"]
end

subgraph group_items["Items and interaction"]
  node_item["World items<br/>[Item.cs]"]
  node_item_data["Item definitions<br/>[ItemDataSO.cs]"]
  node_item_physics["Item physics<br/>[ItemPhysics.cs]"]
  node_interactable["Interaction contract<br/>[IInteractable.cs]"]
  node_interactable_info["Interaction info"]
  node_collider_bounds["Collider bounds"]
end

node_players(("Players"))

node_players -->|"earn and escape"| node_survival

click node_survival "https://github.com/jinnnyjin/infectstellar_networkteamproject/tree/main/Infectstellar/Assets"
click node_title "https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/KHJ/Scripts/Title/MenuController.cs"
click node_menu_handler "https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/KHJ/Scripts/Title/MenuHandler.cs"
click node_nickname "https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/KHJ/Scripts/Title/NicknameMenuHandler.cs"
click node_loading "https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/KHJ/Scripts/Loading/LoadingHelper.cs"
click node_photon_link "https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/KHJ/Scripts/Photon/PhotonLinkManager.cs"
click node_photon_test "https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/KHJ/Scripts/Photon/PhotonConnectForTest.cs"
click node_firebase_link "https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/KHJ/Scripts/Firebase/FirebaseLinkManager.cs"
click node_item "https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/JHJ/Scripts/Item.cs"
click node_item_data "https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/JHJ/Scripts/ItemDataSO.cs"
click node_item_physics "https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/JHJ/Scripts/ItemPhysics.cs"
click node_interactable "https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/JHJ/Scripts/Interface/IInteractable.cs"
click node_interactable_info "https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/JHJ/Scripts/InteractableInfo.cs"
click node_collider_bounds "https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/JHJ/Scripts/ColliderBoundsUtil.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_survival toneBlue
class node_title,node_menu_handler,node_nickname,node_loading,node_photon_link,node_photon_test,node_firebase_link toneAmber
class node_item,node_item_data,node_item_physics,node_interactable,node_interactable_info,node_collider_bounds toneMint
class node_players toneIndigo
```

## Components

### Game premise

- [Social survival](https://github.com/jinnnyjin/infectstellar_networkteamproject/tree/main/Infectstellar/Assets): `Infectstellar/Assets`

### Entry and services

- [Title menus](https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/KHJ/Scripts/Title/MenuController.cs): `Infectstellar/Assets/KHJ/Scripts/Title/MenuController.cs`
- [Menu handling](https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/KHJ/Scripts/Title/MenuHandler.cs): `Infectstellar/Assets/KHJ/Scripts/Title/MenuHandler.cs`
- [Nickname entry](https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/KHJ/Scripts/Title/NicknameMenuHandler.cs): `Infectstellar/Assets/KHJ/Scripts/Title/NicknameMenuHandler.cs`
- [Loading](https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/KHJ/Scripts/Loading/LoadingHelper.cs): `Infectstellar/Assets/KHJ/Scripts/Loading/LoadingHelper.cs`
- [Photon connection](https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/KHJ/Scripts/Photon/PhotonLinkManager.cs): `Infectstellar/Assets/KHJ/Scripts/Photon/PhotonLinkManager.cs`
- [Photon test connect](https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/KHJ/Scripts/Photon/PhotonConnectForTest.cs): `Infectstellar/Assets/KHJ/Scripts/Photon/PhotonConnectForTest.cs`
- [Firebase link](https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/KHJ/Scripts/Firebase/FirebaseLinkManager.cs): `Infectstellar/Assets/KHJ/Scripts/Firebase/FirebaseLinkManager.cs`

### Items and interaction

- [World items](https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/JHJ/Scripts/Item.cs): `Infectstellar/Assets/JHJ/Scripts/Item.cs`
- [Item definitions](https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/JHJ/Scripts/ItemDataSO.cs): `Infectstellar/Assets/JHJ/Scripts/ItemDataSO.cs`
- [Item physics](https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/JHJ/Scripts/ItemPhysics.cs): `Infectstellar/Assets/JHJ/Scripts/ItemPhysics.cs`
- [Interaction contract](https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/JHJ/Scripts/Interface/IInteractable.cs): `Infectstellar/Assets/JHJ/Scripts/Interface/IInteractable.cs`
- [Interaction info](https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/JHJ/Scripts/InteractableInfo.cs): `Infectstellar/Assets/JHJ/Scripts/InteractableInfo.cs`
- [Collider bounds](https://github.com/jinnnyjin/infectstellar_networkteamproject/blob/main/Infectstellar/Assets/JHJ/Scripts/ColliderBoundsUtil.cs): `Infectstellar/Assets/JHJ/Scripts/ColliderBoundsUtil.cs`

### Other components

- **Players**

## Connections

- Players → Social survival: earn and escape (evidence: `README.md`)
