# silviuburceadev/puzzles architecture

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

- Interactive diagram: https://gitdiagram.com/silviuburceadev/puzzles
- Repository: https://github.com/silviuburceadev/puzzles

## Overview

This repository is a collection of coding-puzzle solutions. The sampled runtime implements Advent of Code 2025 Day 1: rotation values are represented and converted from strings, then Solution computes standard and enhanced passwords from a rotation list. The available evidence covers only this puzzle; other years are present in the tree but their runtime implementations were not sampled.

Main entry points: [`advent-of-code/year-2025/src/main/java/com/github/silviuburceadev/puzzles/aoc/year2025/day01/Solution.java`](https://github.com/silviuburceadev/puzzles/blob/main/advent-of-code/year-2025/src/main/java/com/github/silviuburceadev/puzzles/aoc/year2025/day01/Solution.java) (Password Solution), [`advent-of-code/year-2025/src/main/java/com/github/silviuburceadev/puzzles/aoc/year2025/day01/Rotation.java`](https://github.com/silviuburceadev/puzzles/blob/main/advent-of-code/year-2025/src/main/java/com/github/silviuburceadev/puzzles/aoc/year2025/day01/Rotation.java) (Rotation), [`advent-of-code/year-2025/src/main/java/com/github/silviuburceadev/puzzles/aoc/year2025/day01/Direction.java`](https://github.com/silviuburceadev/puzzles/blob/main/advent-of-code/year-2025/src/main/java/com/github/silviuburceadev/puzzles/aoc/year2025/day01/Direction.java) (Direction)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_rotation["Rotation<br/>[Rotation.java]"]
node_direction["Direction<br/>[Direction.java]"]
node_solution["Password Solution<br/>[Solution.java]"]

node_rotation -->|"uses enum"| node_direction
node_solution -->|"processes list"| node_rotation
node_solution -->|"checks direction"| node_direction

click node_rotation "https://github.com/silviuburceadev/puzzles/blob/main/advent-of-code/year-2025/src/main/java/com/github/silviuburceadev/puzzles/aoc/year2025/day01/Rotation.java"
click node_direction "https://github.com/silviuburceadev/puzzles/blob/main/advent-of-code/year-2025/src/main/java/com/github/silviuburceadev/puzzles/aoc/year2025/day01/Direction.java"
click node_solution "https://github.com/silviuburceadev/puzzles/blob/main/advent-of-code/year-2025/src/main/java/com/github/silviuburceadev/puzzles/aoc/year2025/day01/Solution.java"

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_rotation,node_direction,node_solution toneTeal
```

## Components

### Other components

- [Rotation](https://github.com/silviuburceadev/puzzles/blob/main/advent-of-code/year-2025/src/main/java/com/github/silviuburceadev/puzzles/aoc/year2025/day01/Rotation.java): `advent-of-code/year-2025/src/main/java/com/github/silviuburceadev/puzzles/aoc/year2025/day01/Rotation.java`
- [Direction](https://github.com/silviuburceadev/puzzles/blob/main/advent-of-code/year-2025/src/main/java/com/github/silviuburceadev/puzzles/aoc/year2025/day01/Direction.java): `advent-of-code/year-2025/src/main/java/com/github/silviuburceadev/puzzles/aoc/year2025/day01/Direction.java`
- [Password Solution](https://github.com/silviuburceadev/puzzles/blob/main/advent-of-code/year-2025/src/main/java/com/github/silviuburceadev/puzzles/aoc/year2025/day01/Solution.java): `advent-of-code/year-2025/src/main/java/com/github/silviuburceadev/puzzles/aoc/year2025/day01/Solution.java`

## Connections

- Rotation → Direction: uses enum (evidence: `advent-of-code/year-2025/src/main/java/com/github/silviuburceadev/puzzles/aoc/year2025/day01/Rotation.java`)
- Password Solution → Rotation: processes list (evidence: `advent-of-code/year-2025/src/main/java/com/github/silviuburceadev/puzzles/aoc/year2025/day01/Solution.java`)
- Password Solution → Direction: checks direction (evidence: `advent-of-code/year-2025/src/main/java/com/github/silviuburceadev/puzzles/aoc/year2025/day01/Solution.java`)
