# crystar0/finger-detect architecture

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

- Interactive diagram: https://gitdiagram.com/crystar0/finger-detect
- Repository: https://github.com/crystar0/finger-detect

## Overview

Finger-detect is a small browser game: the player aims a blue circle at a red target with the left hand, then clenches the right fist to crush it and repeat. The README documents this interaction; no source excerpts were provided, so implementation details are not inferred.

Main entry points: [`finger detect.html`](https://github.com/crystar0/finger-detect/blob/main/finger%20detect.html) (Blue Circle)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_player(("Player"))
node_blue_circle(("Blue Circle<br/>[finger detect.html]"))
node_red_circle(("Red Circle<br/>[finger detect.html]"))
node_crush_action["Crush Action<br/>[finger detect.html]"]

node_player -->|"aims left hand"| node_blue_circle
node_blue_circle -->|"points at"| node_red_circle
node_player -->|"clenches right fist"| node_crush_action
node_crush_action -->|"crushes"| node_red_circle

click node_blue_circle "https://github.com/crystar0/finger-detect/blob/main/finger%20detect.html"
click node_red_circle "https://github.com/crystar0/finger-detect/blob/main/finger%20detect.html"
click node_crush_action "https://github.com/crystar0/finger-detect/blob/main/finger%20detect.html"

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_player toneIndigo
class node_blue_circle,node_red_circle,node_crush_action toneTeal
```

## Components

### Other components

- **Player**
- [Blue Circle](https://github.com/crystar0/finger-detect/blob/main/finger%20detect.html): `finger detect.html`
- [Red Circle](https://github.com/crystar0/finger-detect/blob/main/finger%20detect.html): `finger detect.html`
- [Crush Action](https://github.com/crystar0/finger-detect/blob/main/finger%20detect.html): `finger detect.html`

## Connections

- Player → Blue Circle: aims left hand (evidence: `README.md`)
- Blue Circle → Red Circle: points at (evidence: `README.md`)
- Player → Crush Action: clenches right fist (evidence: `README.md`)
- Crush Action → Red Circle: crushes (evidence: `README.md`)
