# songsihowan/bear_dog architecture

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

- Interactive diagram: https://gitdiagram.com/songsihowan/bear_dog
- Repository: https://github.com/songsihowan/bear_dog

## Overview

BEAR AND DOG is a Unity 3D cooperative multiplayer puzzle game for two players. The documented player workflow is to coordinate through chat or voice, cooperate across two stages, and receive a top-10 ranking for a fast clear. The README also documents local settings for nickname, sound, and voice mode, plus a Photon RPC used to force a game over. No gameplay source files or implementation paths were provided, so implementation nodes have null paths and undocumented runtime links are omitted.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_play["Cooperative gameplay"]
  node_photon["Photon networking"]
  node_stages["Two game stages"]
  node_ranking[("Top-10 ranking")]
end

subgraph group_comms["Communication"]
  node_chat["Chat"]
  node_voice["Voice communication"]
end

subgraph group_settings["Settings and audio"]
  node_voice_settings["Voice mode settings"]
  node_config["Game settings"]
  node_sound["Sound manager"]
end

node_players(("Players"))

node_players -->|"cooperate in"| node_stages
node_players -->|"communicate by"| node_chat
node_players -->|"communicate by"| node_voice
node_photon -->|"supports multiplayer"| node_stages
node_stages -->|"fast clears qualify"| node_ranking
node_config -->|"sets mode"| node_voice_settings
node_config -->|"sets sound"| node_sound
node_config -->|"sends game-over RPC"| node_photon

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_photon,node_stages,node_ranking toneBlue
class node_chat,node_voice toneAmber
class node_voice_settings,node_config,node_sound toneMint
class node_players toneIndigo
```

## Components

### Cooperative gameplay

- **Photon networking**
- **Two game stages**
- **Top-10 ranking**

### Communication

- **Chat**
- **Voice communication**

### Settings and audio

- **Voice mode settings**
- **Game settings**
- **Sound manager**

### Other components

- **Players**

## Connections

- Players → Two game stages: cooperate in (evidence: `README.md`)
- Players → Chat: communicate by (evidence: `README.md`)
- Players → Voice communication: communicate by (evidence: `README.md`)
- Photon networking → Two game stages: supports multiplayer (evidence: `README.md`)
- Two game stages → Top-10 ranking: fast clears qualify (evidence: `README.md`)
- Game settings → Voice mode settings: sets mode (evidence: `README.md`)
- Game settings → Sound manager: sets sound (evidence: `README.md`)
- Game settings → Photon networking: sends game-over RPC (evidence: `README.md`)
