# veltman/clmystery architecture

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

- Interactive diagram: https://gitdiagram.com/veltman/clmystery
- Repository: https://github.com/veltman/clmystery

## Overview

The Command Line Murders is a command-line learning exercise wrapped around a fictional murder mystery. The player starts by reading the instructions, uses the cheat sheet to learn shell commands, and investigates the supplied case files to determine who did it. The repository includes hints, encoded material, categorized evidence, and a solution. The README documents the intended entry point and goal; since no source or data-file contents were provided, relationships among individual evidence collections and the solution are not asserted.

Main entry points: [`instructions`](https://github.com/veltman/clmystery/blob/master/instructions) (Instructions), [`cheatsheet.md`](https://github.com/veltman/clmystery/blob/master/cheatsheet.md) (Command Cheat Sheet), [`hint1`](https://github.com/veltman/clmystery/blob/master/hint1) (Hints), [`encoded`](https://github.com/veltman/clmystery/blob/master/encoded) (Encoded Clue)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_getting_started["Getting Started"]
  node_instructions["Instructions"]
  node_cheatsheet["Command Cheat Sheet<br/>[cheatsheet.md]"]
  node_hints["Hints"]
end

subgraph group_case_material["Case Material"]
  node_encoded["Encoded Clue"]
  node_crime_scene["Crime Scene"]
  node_interviews["Interviews"]
  node_memberships["Membership Records"]
  node_people["People Records"]
  node_streets["Street Records"]
  node_vehicles["Vehicle Records"]
end

subgraph group_case_outcome["Case Outcome"]
  node_solution["Solution"]
end

node_player(("Player"))

node_player -->|"reads first"| node_instructions
node_player -->|"learns commands"| node_cheatsheet
node_player -.->|"consults hints"| node_hints
node_player -.->|"investigates"| node_encoded
node_player -.->|"investigates"| node_crime_scene
node_player -.->|"investigates"| node_interviews
node_player -.->|"investigates"| node_memberships
node_player -.->|"investigates"| node_people
node_player -.->|"investigates"| node_streets
node_player -.->|"investigates"| node_vehicles
node_player -.->|"checks answer"| node_solution

click node_instructions "https://github.com/veltman/clmystery/blob/master/instructions"
click node_cheatsheet "https://github.com/veltman/clmystery/blob/master/cheatsheet.md"
click node_hints "https://github.com/veltman/clmystery/blob/master/hint1"
click node_encoded "https://github.com/veltman/clmystery/blob/master/encoded"
click node_crime_scene "https://github.com/veltman/clmystery/blob/master/mystery/crimescene"
click node_interviews "https://github.com/veltman/clmystery/tree/master/mystery/interviews"
click node_memberships "https://github.com/veltman/clmystery/tree/master/mystery/memberships"
click node_people "https://github.com/veltman/clmystery/blob/master/mystery/people"
click node_streets "https://github.com/veltman/clmystery/tree/master/mystery/streets"
click node_vehicles "https://github.com/veltman/clmystery/blob/master/mystery/vehicles"
click node_solution "https://github.com/veltman/clmystery/blob/master/solution"

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_instructions,node_cheatsheet,node_hints toneBlue
class node_encoded,node_crime_scene,node_interviews,node_memberships,node_people,node_streets,node_vehicles toneAmber
class node_solution toneMint
class node_player toneIndigo
```

## Components

### Getting Started

- [Instructions](https://github.com/veltman/clmystery/blob/master/instructions): `instructions`
- [Command Cheat Sheet](https://github.com/veltman/clmystery/blob/master/cheatsheet.md): `cheatsheet.md`
- [Hints](https://github.com/veltman/clmystery/blob/master/hint1): `hint1`

### Case Material

- [Encoded Clue](https://github.com/veltman/clmystery/blob/master/encoded): `encoded`
- [Crime Scene](https://github.com/veltman/clmystery/blob/master/mystery/crimescene): `mystery/crimescene`
- [Interviews](https://github.com/veltman/clmystery/tree/master/mystery/interviews): `mystery/interviews`
- [Membership Records](https://github.com/veltman/clmystery/tree/master/mystery/memberships): `mystery/memberships`
- [People Records](https://github.com/veltman/clmystery/blob/master/mystery/people): `mystery/people`
- [Street Records](https://github.com/veltman/clmystery/tree/master/mystery/streets): `mystery/streets`
- [Vehicle Records](https://github.com/veltman/clmystery/blob/master/mystery/vehicles): `mystery/vehicles`

### Case Outcome

- [Solution](https://github.com/veltman/clmystery/blob/master/solution): `solution`

### Other components

- **Player**

## Connections

- Player → Instructions: reads first (evidence: `README.md`)
- Player → Command Cheat Sheet: learns commands (evidence: `README.md`)
- Player → Hints: consults hints
- Player → Encoded Clue: investigates
- Player → Crime Scene: investigates
- Player → Interviews: investigates
- Player → Membership Records: investigates
- Player → People Records: investigates
- Player → Street Records: investigates
- Player → Vehicle Records: investigates
- Player → Solution: checks answer
