# jjontteok/crazyarcade architecture

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

- Interactive diagram: https://gitdiagram.com/jjontteok/crazyarcade
- Repository: https://github.com/jjontteok/crazyarcade

## Overview

The tree identifies CrazyArcade as a Unity game, with code for client/server communication, players, gameplay items and water-balloon mechanics, game management, and menus or in-game UI. A likely player-to-result workflow is joining a room, playing as a player using gameplay items, and reaching a game-over screen, but the available evidence does not verify the runtime sequence or calls between these systems. The graph therefore groups the visible product areas without inventing edges; no README or source excerpts were provided.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_network["Networking"]
  node_client["Unity Client<br/>[UnityClient.cs]"]
  node_dispatcher["Main Thread Dispatcher"]
end

subgraph group_players["Player Control"]
  node_player["Player<br/>[Player.cs]"]
  node_player_controller["Player Controller"]
  node_movement["Player Movement<br/>[PlayerMove.cs]"]
  node_camera["Camera Controller"]
  node_spawning["Player Spawning<br/>[SpawnController.cs]"]
  node_water_player["Water Player"]
end

subgraph group_gameplay["Gameplay"]
  node_items["Item System<br/>[ItemController.cs]"]
  node_dart["Dart Gameplay<br/>[DartController.cs]"]
  node_spider_web["Spider Web"]
  node_vehicle["Vehicles"]
  node_water_balloon["Water Balloon"]
  node_water_current["Water Current"]
end

subgraph group_management["Game Management"]
  node_game_manager["Game Manager<br/>[GameManager.cs]"]
  node_sound_manager["Sound Manager<br/>[SoundManager.cs]"]
  node_timer["Timer<br/>[Timer.cs]"]
end

subgraph group_ui["User Interface"]
  node_ui_manager["UI Manager<br/>[UIManager.cs]"]
  node_main_ui["Main Menu<br/>[UIMain.cs]"]
  node_lobby["Lobby<br/>[UILobby.cs]"]
  node_room_list["Room List<br/>[UIRoomList.cs]"]
  node_game_room["Game Room UI<br/>[UIGameRoom.cs]"]
  node_play_ui["Play UI<br/>[UIPlay.cs]"]
  node_game_over["Game Over UI<br/>[UIGameOver.cs]"]
  node_registration["Registration UI<br/>[UIRegister.cs]"]
  node_player_ui["Player UI<br/>[UIPlayer.cs]"]
end

node_unity(("Unity Runtime"))

click node_client "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/ClientServer/UnityClient.cs"
click node_dispatcher "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/ClientServer/MainThreadDispatcher.cs"
click node_player "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Player/Player.cs"
click node_player_controller "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Player/PlayerController.cs"
click node_movement "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Player/PlayerMove.cs"
click node_camera "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Player/CameraController.cs"
click node_spawning "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Player/SpawnController.cs"
click node_water_player "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Player/WaterPlayerController.cs"
click node_items "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Items/ItemController.cs"
click node_dart "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Items/DartController.cs"
click node_spider_web "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Items/SpiderWebController.cs"
click node_vehicle "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Items/VehicleController.cs"
click node_water_balloon "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/WaterBalloon/WaterBalloonController.cs"
click node_water_current "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/WaterBalloon/WaterCurrentController.cs"
click node_game_manager "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Manager/GameManager.cs"
click node_sound_manager "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Manager/SoundManager.cs"
click node_timer "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Timer.cs"
click node_ui_manager "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/UI/UIManager.cs"
click node_main_ui "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/UI/UIMain.cs"
click node_lobby "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/UI/UILobby.cs"
click node_room_list "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/UI/UIRoomList.cs"
click node_game_room "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/UI/UIGameRoom.cs"
click node_play_ui "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/UI/UIPlay.cs"
click node_game_over "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/UI/UIGameOver.cs"
click node_registration "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/UI/UIRegister.cs"
click node_player_ui "https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/UI/UIPlayer.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_client,node_dispatcher toneBlue
class node_player,node_player_controller,node_movement,node_camera,node_spawning,node_water_player toneAmber
class node_items,node_dart,node_spider_web,node_vehicle,node_water_balloon,node_water_current toneMint
class node_game_manager,node_sound_manager,node_timer toneRose
class node_ui_manager,node_main_ui,node_lobby,node_room_list,node_game_room,node_play_ui,node_game_over,node_registration,node_player_ui,node_unity toneIndigo
```

## Components

### Networking

- [Unity Client](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/ClientServer/UnityClient.cs): `Assets/Scripts/ClientServer/UnityClient.cs`
- [Main Thread Dispatcher](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/ClientServer/MainThreadDispatcher.cs): `Assets/Scripts/ClientServer/MainThreadDispatcher.cs`

### Player Control

- [Player](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Player/Player.cs): `Assets/Scripts/Controller/Player/Player.cs`
- [Player Controller](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Player/PlayerController.cs): `Assets/Scripts/Controller/Player/PlayerController.cs`
- [Player Movement](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Player/PlayerMove.cs): `Assets/Scripts/Controller/Player/PlayerMove.cs`
- [Camera Controller](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Player/CameraController.cs): `Assets/Scripts/Controller/Player/CameraController.cs`
- [Player Spawning](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Player/SpawnController.cs): `Assets/Scripts/Controller/Player/SpawnController.cs`
- [Water Player](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Player/WaterPlayerController.cs): `Assets/Scripts/Controller/Player/WaterPlayerController.cs`

### Gameplay

- [Item System](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Items/ItemController.cs): `Assets/Scripts/Controller/Items/ItemController.cs`
- [Dart Gameplay](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Items/DartController.cs): `Assets/Scripts/Controller/Items/DartController.cs`
- [Spider Web](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Items/SpiderWebController.cs): `Assets/Scripts/Controller/Items/SpiderWebController.cs`
- [Vehicles](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/Items/VehicleController.cs): `Assets/Scripts/Controller/Items/VehicleController.cs`
- [Water Balloon](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/WaterBalloon/WaterBalloonController.cs): `Assets/Scripts/Controller/WaterBalloon/WaterBalloonController.cs`
- [Water Current](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Controller/WaterBalloon/WaterCurrentController.cs): `Assets/Scripts/Controller/WaterBalloon/WaterCurrentController.cs`

### Game Management

- [Game Manager](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Manager/GameManager.cs): `Assets/Scripts/Manager/GameManager.cs`
- [Sound Manager](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Manager/SoundManager.cs): `Assets/Scripts/Manager/SoundManager.cs`
- [Timer](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/Timer.cs): `Assets/Scripts/Timer.cs`

### User Interface

- [UI Manager](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/UI/UIManager.cs): `Assets/Scripts/UI/UIManager.cs`
- [Main Menu](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/UI/UIMain.cs): `Assets/Scripts/UI/UIMain.cs`
- [Lobby](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/UI/UILobby.cs): `Assets/Scripts/UI/UILobby.cs`
- [Room List](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/UI/UIRoomList.cs): `Assets/Scripts/UI/UIRoomList.cs`
- [Game Room UI](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/UI/UIGameRoom.cs): `Assets/Scripts/UI/UIGameRoom.cs`
- [Play UI](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/UI/UIPlay.cs): `Assets/Scripts/UI/UIPlay.cs`
- [Game Over UI](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/UI/UIGameOver.cs): `Assets/Scripts/UI/UIGameOver.cs`
- [Registration UI](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/UI/UIRegister.cs): `Assets/Scripts/UI/UIRegister.cs`
- [Player UI](https://github.com/jjontteok/crazyarcade/blob/main/Assets/Scripts/UI/UIPlayer.cs): `Assets/Scripts/UI/UIPlayer.cs`

### Other components

- **Unity Runtime**
