# johnryll-k/github.com-johnryll-k-multi-sessionatmterminal architecture

> Architecture diagram of the GitHub repository johnryll-k/github.com-johnryll-k-multi-sessionatmterminal, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal
- Repository: https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal

## Overview

This repository contains three independent console programs: two ATM simulations and a student gadget-object demo. The ATM workflows accept PIN input, then provide account or withdrawal behavior; the newer simulation also supports deposits, a mini-statement, and bill dispensing. The gadget demo constructs devices and displays their specifications and usage messages. The graph separates these programs rather than implying shared services. Relationships are evidenced by the sampled programs; no README capabilities were available.

Main entry points: [`ATMSimulation-Venegas-A2/Program.cs`](https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal/blob/main/ATMSimulation-Venegas-A2/Program.cs) (Authenticated session), [`StudentGadgetInventory/Program.cs`](https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal/blob/main/StudentGadgetInventory/Program.cs) (Demo runner), [`ATMSimulation-Venegas/Program.cs`](https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal/blob/main/ATMSimulation-Venegas/Program.cs) (PIN and withdrawal), [`StudentGadgetInventory/Gadget.cs`](https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal/blob/main/StudentGadgetInventory/Gadget.cs) (Gadget model)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_atm_basic["Basic ATM"]
  node_basic_flow["PIN and withdrawal<br/>[Program.cs]"]
end

subgraph group_atm_session["ATM Session"]
  node_session_flow["Authenticated session<br/>[Program.cs]"]
  node_account_ops["Account operations<br/>[Program.cs]"]
  node_dispensing["Cash dispensing<br/>[Program.cs]"]
  node_statement["Mini-statement<br/>[Program.cs]"]
end

subgraph group_gadget_demo["Gadget Demo"]
  node_demo_runner["Demo runner<br/>[Program.cs]"]
  node_gadget["Gadget model<br/>[Gadget.cs]"]
end

node_customer(("ATM customer"))

node_customer -->|"enters PIN and amount"| node_basic_flow
node_customer -->|"uses console menu"| node_session_flow
node_session_flow -->|"routes choices"| node_account_ops
node_session_flow -->|"dispenses approved cash"| node_dispensing
node_session_flow -->|"prints transaction history"| node_statement
node_demo_runner -->|"constructs and invokes"| node_gadget

click node_basic_flow "https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal/blob/main/ATMSimulation-Venegas/Program.cs"
click node_session_flow "https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal/blob/main/ATMSimulation-Venegas-A2/Program.cs"
click node_account_ops "https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal/blob/main/ATMSimulation-Venegas-A2/Program.cs"
click node_dispensing "https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal/blob/main/ATMSimulation-Venegas-A2/Program.cs"
click node_statement "https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal/blob/main/ATMSimulation-Venegas-A2/Program.cs"
click node_demo_runner "https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal/blob/main/StudentGadgetInventory/Program.cs"
click node_gadget "https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal/blob/main/StudentGadgetInventory/Gadget.cs"

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_basic_flow toneBlue
class node_session_flow,node_account_ops,node_dispensing,node_statement toneAmber
class node_demo_runner,node_gadget toneMint
class node_customer toneIndigo
```

## Components

### Basic ATM

- [PIN and withdrawal](https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal/blob/main/ATMSimulation-Venegas/Program.cs): `ATMSimulation-Venegas/Program.cs`

### ATM Session

- [Authenticated session](https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal/blob/main/ATMSimulation-Venegas-A2/Program.cs): `ATMSimulation-Venegas-A2/Program.cs`
- [Account operations](https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal/blob/main/ATMSimulation-Venegas-A2/Program.cs): `ATMSimulation-Venegas-A2/Program.cs`
- [Cash dispensing](https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal/blob/main/ATMSimulation-Venegas-A2/Program.cs): `ATMSimulation-Venegas-A2/Program.cs`
- [Mini-statement](https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal/blob/main/ATMSimulation-Venegas-A2/Program.cs): `ATMSimulation-Venegas-A2/Program.cs`

### Gadget Demo

- [Demo runner](https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal/blob/main/StudentGadgetInventory/Program.cs): `StudentGadgetInventory/Program.cs`
- [Gadget model](https://github.com/johnryll-k/github.com-johnryll-k-multi-sessionatmterminal/blob/main/StudentGadgetInventory/Gadget.cs): `StudentGadgetInventory/Gadget.cs`

### Other components

- **ATM customer**

## Connections

- ATM customer → PIN and withdrawal: enters PIN and amount (evidence: `ATMSimulation-Venegas/Program.cs`)
- ATM customer → Authenticated session: uses console menu (evidence: `ATMSimulation-Venegas-A2/Program.cs`)
- Authenticated session → Account operations: routes choices (evidence: `ATMSimulation-Venegas-A2/Program.cs`)
- Authenticated session → Cash dispensing: dispenses approved cash (evidence: `ATMSimulation-Venegas-A2/Program.cs`)
- Authenticated session → Mini-statement: prints transaction history (evidence: `ATMSimulation-Venegas-A2/Program.cs`)
- Demo runner → Gadget model: constructs and invokes (evidence: `StudentGadgetInventory/Program.cs`)
