# ericcji/find-yunhai architecture

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

- Interactive diagram: https://gitdiagram.com/ericcji/find-yunhai
- Repository: https://github.com/ericcji/find-yunhai

## Overview

This repository is a Windows release build of a campus-themed maze game, not a source project. The documented player journey is to explore the maze, collect every gem, evade the instructor, then use the unlocked exit to advance. The README also says the executable plays `bgm.wav` when both files are colocated. Gameplay components and their relationships are based on README descriptions; implementation details cannot be verified because no source excerpts are available.

Main entry points: [`迷宫.exe`](https://github.com/ericcji/find-yunhai/blob/main/%E8%BF%B7%E5%AE%AB.exe) (Game), [`bgm.wav`](https://github.com/ericcji/find-yunhai/blob/main/bgm.wav) (Background Music)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_gameplay["Maze Gameplay"]
  node_game["Game<br/>[迷宫.exe]"]
  node_movement["Maze Movement<br/>[迷宫.exe]"]
  node_gems["Gem Collection<br/>[迷宫.exe]"]
  node_instructor["Instructor Chase<br/>[迷宫.exe]"]
  node_music["Background Music<br/>[bgm.wav]"]
end

subgraph group_progression["Level Progression"]
  node_level["Level Progression<br/>[迷宫.exe]"]
end

node_player(("Player"))

node_player -->|"launches"| node_game
node_game -->|"supports"| node_movement
node_game -->|"includes"| node_gems
node_game -->|"includes"| node_instructor
node_game -->|"includes"| node_level
node_gems -->|"unlocks exit"| node_level
node_instructor -->|"can fail"| node_level
node_level -->|"enters next"| node_game
node_game -->|"plays alongside"| node_music

click node_game "https://github.com/ericcji/find-yunhai/blob/main/%E8%BF%B7%E5%AE%AB.exe"
click node_movement "https://github.com/ericcji/find-yunhai/blob/main/%E8%BF%B7%E5%AE%AB.exe"
click node_gems "https://github.com/ericcji/find-yunhai/blob/main/%E8%BF%B7%E5%AE%AB.exe"
click node_instructor "https://github.com/ericcji/find-yunhai/blob/main/%E8%BF%B7%E5%AE%AB.exe"
click node_level "https://github.com/ericcji/find-yunhai/blob/main/%E8%BF%B7%E5%AE%AB.exe"
click node_music "https://github.com/ericcji/find-yunhai/blob/main/bgm.wav"

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_game,node_movement,node_gems,node_instructor,node_music toneBlue
class node_level toneAmber
class node_player toneIndigo
```

## Components

### Maze Gameplay

- [Game](https://github.com/ericcji/find-yunhai/blob/main/%E8%BF%B7%E5%AE%AB.exe): `迷宫.exe`
- [Maze Movement](https://github.com/ericcji/find-yunhai/blob/main/%E8%BF%B7%E5%AE%AB.exe): `迷宫.exe`
- [Gem Collection](https://github.com/ericcji/find-yunhai/blob/main/%E8%BF%B7%E5%AE%AB.exe): `迷宫.exe`
- [Instructor Chase](https://github.com/ericcji/find-yunhai/blob/main/%E8%BF%B7%E5%AE%AB.exe): `迷宫.exe`
- [Background Music](https://github.com/ericcji/find-yunhai/blob/main/bgm.wav): `bgm.wav`

### Level Progression

- [Level Progression](https://github.com/ericcji/find-yunhai/blob/main/%E8%BF%B7%E5%AE%AB.exe): `迷宫.exe`

### Other components

- **Player**

## Connections

- Player → Game: launches (evidence: `README.md`)
- Game → Maze Movement: supports (evidence: `README.md`)
- Game → Gem Collection: includes (evidence: `README.md`)
- Game → Instructor Chase: includes (evidence: `README.md`)
- Game → Level Progression: includes (evidence: `README.md`)
- Gem Collection → Level Progression: unlocks exit (evidence: `README.md`)
- Instructor Chase → Level Progression: can fail (evidence: `README.md`)
- Level Progression → Game: enters next (evidence: `README.md`)
- Game → Background Music: plays alongside (evidence: `README.md`)
