# hanover-cs321/class-project-fall-2026 architecture

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

- Interactive diagram: https://gitdiagram.com/hanover-cs321/class-project-fall-2026
- Repository: https://github.com/hanover-cs321/class-project-fall-2026

## Overview

This is a small Java class-project scaffold, not a complete chess application. Its runnable behavior prints a fixed greeting; separately, it defines a greeting service/repository contract and chess-related value types for colors, board locations, and piece kinds. The service delegates greeting lookup to its repository, but no concrete repository or chess workflow is shown. The README provides no additional capability details, so the map reflects only the sampled source; the chess types have no evidenced runtime connections.

Main entry points: [`src/main/java/edu/hanover/sdp2026/App.java`](https://github.com/hanover-cs321/class-project-fall-2026/blob/main/src/main/java/edu/hanover/sdp2026/App.java) (App entry point), [`src/main/java/edu/hanover/sdp2026/GreetingService.java`](https://github.com/hanover-cs321/class-project-fall-2026/blob/main/src/main/java/edu/hanover/sdp2026/GreetingService.java) (Greeting service), [`src/main/java/edu/hanover/sdp2026/GreetingRepository.java`](https://github.com/hanover-cs321/class-project-fall-2026/blob/main/src/main/java/edu/hanover/sdp2026/GreetingRepository.java) (Greeting contract)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_greeting["Greeting runtime"]
  node_app["App entry point<br/>[App.java]"]
  node_service["Greeting service"]
  node_repository["Greeting contract"]
end

subgraph group_chess["Chess primitives"]
  node_location["Board location<br/>[Location.java]"]
  node_color["Piece color<br/>[Color.java]"]
  node_piece["Piece type<br/>[PieceType.java]"]
end

node_caller(("Launcher"))
node_console["Console output"]

node_caller -->|"launches"| node_app
node_app -->|"prints greeting"| node_console
node_service -->|"looks up greeting"| node_repository

click node_app "https://github.com/hanover-cs321/class-project-fall-2026/blob/main/src/main/java/edu/hanover/sdp2026/App.java"
click node_service "https://github.com/hanover-cs321/class-project-fall-2026/blob/main/src/main/java/edu/hanover/sdp2026/GreetingService.java"
click node_repository "https://github.com/hanover-cs321/class-project-fall-2026/blob/main/src/main/java/edu/hanover/sdp2026/GreetingRepository.java"
click node_location "https://github.com/hanover-cs321/class-project-fall-2026/blob/main/src/main/java/edu/hanover/sdp2026/Location.java"
click node_color "https://github.com/hanover-cs321/class-project-fall-2026/blob/main/src/main/java/Color.java"
click node_piece "https://github.com/hanover-cs321/class-project-fall-2026/blob/main/src/main/java/edu/hanover/sdp2026/PieceType.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_app,node_service,node_repository toneBlue
class node_location,node_color,node_piece toneAmber
class node_caller,node_console toneIndigo
```

## Components

### Greeting runtime

- [App entry point](https://github.com/hanover-cs321/class-project-fall-2026/blob/main/src/main/java/edu/hanover/sdp2026/App.java): `src/main/java/edu/hanover/sdp2026/App.java`
- [Greeting service](https://github.com/hanover-cs321/class-project-fall-2026/blob/main/src/main/java/edu/hanover/sdp2026/GreetingService.java): `src/main/java/edu/hanover/sdp2026/GreetingService.java`
- [Greeting contract](https://github.com/hanover-cs321/class-project-fall-2026/blob/main/src/main/java/edu/hanover/sdp2026/GreetingRepository.java): `src/main/java/edu/hanover/sdp2026/GreetingRepository.java`

### Chess primitives

- [Board location](https://github.com/hanover-cs321/class-project-fall-2026/blob/main/src/main/java/edu/hanover/sdp2026/Location.java): `src/main/java/edu/hanover/sdp2026/Location.java`
- [Piece color](https://github.com/hanover-cs321/class-project-fall-2026/blob/main/src/main/java/Color.java): `src/main/java/Color.java`
- [Piece type](https://github.com/hanover-cs321/class-project-fall-2026/blob/main/src/main/java/edu/hanover/sdp2026/PieceType.java): `src/main/java/edu/hanover/sdp2026/PieceType.java`

### Other components

- **Launcher**
- **Console output**

## Connections

- Launcher → App entry point: launches (evidence: `src/main/java/edu/hanover/sdp2026/App.java`)
- App entry point → Console output: prints greeting (evidence: `src/main/java/edu/hanover/sdp2026/App.java`)
- Greeting service → Greeting contract: looks up greeting (evidence: `src/main/java/edu/hanover/sdp2026/GreetingService.java`)
