# amoander/learning-github architecture

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

- Interactive diagram: https://gitdiagram.com/amoander/learning-github
- Repository: https://github.com/amoander/learning-github

## Overview

This is a small Git/GitHub learning repository, not a larger application. Its product workflow is practice: run either standalone Python script, interact in the terminal, and see a greeting or game result. The README also identifies a learning log and roadmap, but their contents were not provided, so their internal behavior and connections to the scripts are unknown. The graph therefore focuses on the two evidenced runtime exercises and the terminal user interaction.

Main entry points: [`scripts/guess.py`](https://github.com/amoander/learning-github/blob/main/scripts/guess.py) (Guessing game), [`scripts/hello.py`](https://github.com/amoander/learning-github/blob/main/scripts/hello.py) (Greeting script)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_practice["Python practice"]
  node_hello["Greeting script<br/>[hello.py]"]
  node_guess["Guessing game<br/>[guess.py]"]
end

node_learner(("Learner"))
node_terminal["Terminal"]
node_random["Random number"]

node_learner -->|"runs script"| node_terminal
node_terminal -->|"starts"| node_hello
node_hello -->|"prompts and prints"| node_terminal
node_terminal -->|"starts"| node_guess
node_guess -->|"prompts and prints"| node_terminal
node_guess -->|"gets number"| node_random

click node_hello "https://github.com/amoander/learning-github/blob/main/scripts/hello.py"
click node_guess "https://github.com/amoander/learning-github/blob/main/scripts/guess.py"

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_hello,node_guess toneBlue
class node_learner,node_terminal,node_random toneIndigo
```

## Components

### Python practice

- [Greeting script](https://github.com/amoander/learning-github/blob/main/scripts/hello.py): `scripts/hello.py`
- [Guessing game](https://github.com/amoander/learning-github/blob/main/scripts/guess.py): `scripts/guess.py`

### Other components

- **Learner**
- **Terminal**
- **Random number**

## Connections

- Learner → Terminal: runs script (evidence: `README.md`)
- Terminal → Greeting script: starts (evidence: `README.md`)
- Greeting script → Terminal: prompts and prints (evidence: `scripts/hello.py`)
- Terminal → Guessing game: starts (evidence: `README.md`)
- Guessing game → Terminal: prompts and prints (evidence: `scripts/guess.py`)
- Guessing game → Random number: gets number (evidence: `scripts/guess.py`)
