# illya228666/all-tasks-and-launcher architecture

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

- Interactive diagram: https://gitdiagram.com/illya228666/all-tasks-and-launcher
- Repository: https://github.com/illya228666/all-tasks-and-launcher

## Overview

This repository combines a Windows app launcher and desktop-pet experience, an ESP device controller, and a collection of standalone C# learning exercises. The launcher workflow starts a session, discovers and presents apps, then launches a selection; the pet adds desktop exploration, life simulation, and rendering. The controller starts a device connection and presents device state and events. Evidence is limited to the supplied excerpts and source index, so links for unsampled subsystems are omitted rather than inferred.

Main entry points: [`Launcher.Pet/PetWorld.cs`](https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher.Pet/PetWorld.cs) (Pet simulation), [`Helpes/Read.cs`](https://github.com/illya228666/all-tasks-and-launcher/blob/main/Helpes/Read.cs) (Input helpers), [`Launcher.Device/Connection/DeviceConnection.cs`](https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher.Device/Connection/DeviceConnection.cs) (Device connection), [`04_Dateiverarbeitung`](https://github.com/illya228666/all-tasks-and-launcher/tree/main/04_Dateiverarbeitung) (File exercises)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_launcher["App launcher"]
  node_launcher_program["Launcher entry<br/>[Program.cs]"]
  node_startup["Startup session"]
  node_discovery["App discovery<br/>[Discovery]"]
  node_app_list["App list and search<br/>[List]"]
  node_app_launch["App launching<br/>[Launch]"]
end

subgraph group_pet["Desktop pet"]
  node_pet_world["Pet simulation<br/>[PetWorld.cs]"]
  node_pet_activity["Pet activities<br/>[Activities]"]
  node_pet_ruins["Ruin exploration<br/>[RuinBuilder.cs]"]
  node_pet_life["Life simulation<br/>[LifeWorld.cs]"]
  node_pet_hat["Hat physics<br/>[HatWorld.cs]"]
  node_pet_environment["Pet environment<br/>[PetEnvironment.cs]"]
  node_pet_windows["Windows pet session"]
  node_pet_render["Pet and ruin rendering<br/>[Drawing]"]
end

subgraph group_device["Device controller"]
  node_device_viewmodel["Controller view model"]
  node_device_connection["Device connection"]
  node_device_protocol["Device protocols<br/>[Protocol]"]
  node_serial_transport["Serial transport"]
end

subgraph group_learning["Learning exercises"]
  node_selection_tasks["Selection exercises"]
  node_loop_tasks["Iteration exercises"]
  node_file_tasks["File exercises"]
  node_array_tasks["Array exercises"]
  node_class_tasks["Class exercises"]
  node_read_helper["Input helpers<br/>[Read.cs]"]
  node_log_helper["Log file helper<br/>[LogFile.cs]"]
end

node_user(("User"))

node_user -->|"starts"| node_launcher_program
node_launcher_program -->|"creates session"| node_startup
node_user -.->|"controls"| node_device_viewmodel
node_device_viewmodel -->|"starts and commands"| node_device_connection
node_device_connection -->|"uses protocol"| node_device_protocol
node_device_connection -->|"uses transport"| node_serial_transport
node_pet_world -->|"dispatches activities"| node_pet_activity
node_pet_world -->|"reads environment"| node_pet_environment
node_pet_world -->|"uses life world"| node_pet_life
node_pet_world -->|"uses hat world"| node_pet_hat
node_pet_world -->|"uses ruin scene"| node_pet_ruins
node_pet_ruins -->|"supplies ruin geometry"| node_pet_environment
node_user -.->|"runs exercises"| node_selection_tasks
node_user -.->|"runs exercises"| node_loop_tasks
node_user -.->|"runs exercises"| node_file_tasks
node_user -.->|"runs exercises"| node_array_tasks
node_user -.->|"runs examples"| node_class_tasks
node_file_tasks -->|"reads input"| node_read_helper
node_file_tasks -->|"writes and reads logs"| node_log_helper
node_loop_tasks -->|"reads input"| node_read_helper
node_selection_tasks -->|"reads input"| node_read_helper
node_array_tasks -->|"reads input"| node_read_helper

click node_launcher_program "https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher/Program.cs"
click node_startup "https://github.com/illya228666/all-tasks-and-launcher/tree/main/Launcher/Startup"
click node_discovery "https://github.com/illya228666/all-tasks-and-launcher/tree/main/Launcher.Apps.Windows/Discovery"
click node_app_list "https://github.com/illya228666/all-tasks-and-launcher/tree/main/Launcher.Apps/List"
click node_app_launch "https://github.com/illya228666/all-tasks-and-launcher/tree/main/Launcher.Apps/Launch"
click node_pet_world "https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher.Pet/PetWorld.cs"
click node_pet_activity "https://github.com/illya228666/all-tasks-and-launcher/tree/main/Launcher.Pet/Activities"
click node_pet_ruins "https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher.Pet/Exploration/RuinBuilder.cs"
click node_pet_life "https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher.Pet/Life/LifeWorld.cs"
click node_pet_hat "https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher.Pet/Hat/HatWorld.cs"
click node_pet_environment "https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher.Pet/Data/PetEnvironment.cs"
click node_pet_windows "https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher.Pet.Windows/PetWindowsSession.cs"
click node_pet_render "https://github.com/illya228666/all-tasks-and-launcher/tree/main/Launcher.Pet.Windows/Drawing"
click node_device_viewmodel "https://github.com/illya228666/all-tasks-and-launcher/blob/main/EspController/Presentation/ControllerViewModel.cs"
click node_device_connection "https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher.Device/Connection/DeviceConnection.cs"
click node_device_protocol "https://github.com/illya228666/all-tasks-and-launcher/tree/main/Launcher.Device/Protocol"
click node_serial_transport "https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher.Device/Protocol/SerialDeviceTransport.cs"
click node_selection_tasks "https://github.com/illya228666/all-tasks-and-launcher/tree/main/02_Verzweigung_Selection"
click node_loop_tasks "https://github.com/illya228666/all-tasks-and-launcher/tree/main/03_Schleifen_Iteration"
click node_file_tasks "https://github.com/illya228666/all-tasks-and-launcher/tree/main/04_Dateiverarbeitung"
click node_array_tasks "https://github.com/illya228666/all-tasks-and-launcher/tree/main/05_Array"
click node_class_tasks "https://github.com/illya228666/all-tasks-and-launcher/tree/main/07_Klassen_und_Objekte"
click node_read_helper "https://github.com/illya228666/all-tasks-and-launcher/blob/main/Helpes/Read.cs"
click node_log_helper "https://github.com/illya228666/all-tasks-and-launcher/blob/main/Helpes/LogFile.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_launcher_program,node_startup,node_discovery,node_app_list,node_app_launch,node_user toneBlue
class node_pet_world,node_pet_activity,node_pet_ruins,node_pet_life,node_pet_hat,node_pet_environment,node_pet_windows,node_pet_render toneAmber
class node_device_viewmodel,node_device_connection,node_device_protocol,node_serial_transport toneMint
class node_selection_tasks,node_loop_tasks,node_file_tasks,node_array_tasks,node_class_tasks,node_read_helper,node_log_helper toneRose
```

## Components

### App launcher

- [Launcher entry](https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher/Program.cs): `Launcher/Program.cs`
- [Startup session](https://github.com/illya228666/all-tasks-and-launcher/tree/main/Launcher/Startup): `Launcher/Startup`
- [App discovery](https://github.com/illya228666/all-tasks-and-launcher/tree/main/Launcher.Apps.Windows/Discovery): `Launcher.Apps.Windows/Discovery`
- [App list and search](https://github.com/illya228666/all-tasks-and-launcher/tree/main/Launcher.Apps/List): `Launcher.Apps/List`
- [App launching](https://github.com/illya228666/all-tasks-and-launcher/tree/main/Launcher.Apps/Launch): `Launcher.Apps/Launch`

### Desktop pet

- [Pet simulation](https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher.Pet/PetWorld.cs): `Launcher.Pet/PetWorld.cs`
- [Pet activities](https://github.com/illya228666/all-tasks-and-launcher/tree/main/Launcher.Pet/Activities): `Launcher.Pet/Activities`
- [Ruin exploration](https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher.Pet/Exploration/RuinBuilder.cs): `Launcher.Pet/Exploration/RuinBuilder.cs`
- [Life simulation](https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher.Pet/Life/LifeWorld.cs): `Launcher.Pet/Life/LifeWorld.cs`
- [Hat physics](https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher.Pet/Hat/HatWorld.cs): `Launcher.Pet/Hat/HatWorld.cs`
- [Pet environment](https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher.Pet/Data/PetEnvironment.cs): `Launcher.Pet/Data/PetEnvironment.cs`
- [Windows pet session](https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher.Pet.Windows/PetWindowsSession.cs): `Launcher.Pet.Windows/PetWindowsSession.cs`
- [Pet and ruin rendering](https://github.com/illya228666/all-tasks-and-launcher/tree/main/Launcher.Pet.Windows/Drawing): `Launcher.Pet.Windows/Drawing`

### Device controller

- [Controller view model](https://github.com/illya228666/all-tasks-and-launcher/blob/main/EspController/Presentation/ControllerViewModel.cs): `EspController/Presentation/ControllerViewModel.cs`
- [Device connection](https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher.Device/Connection/DeviceConnection.cs): `Launcher.Device/Connection/DeviceConnection.cs`
- [Device protocols](https://github.com/illya228666/all-tasks-and-launcher/tree/main/Launcher.Device/Protocol): `Launcher.Device/Protocol`
- [Serial transport](https://github.com/illya228666/all-tasks-and-launcher/blob/main/Launcher.Device/Protocol/SerialDeviceTransport.cs): `Launcher.Device/Protocol/SerialDeviceTransport.cs`

### Learning exercises

- [Selection exercises](https://github.com/illya228666/all-tasks-and-launcher/tree/main/02_Verzweigung_Selection): `02_Verzweigung_Selection`
- [Iteration exercises](https://github.com/illya228666/all-tasks-and-launcher/tree/main/03_Schleifen_Iteration): `03_Schleifen_Iteration`
- [File exercises](https://github.com/illya228666/all-tasks-and-launcher/tree/main/04_Dateiverarbeitung): `04_Dateiverarbeitung`
- [Array exercises](https://github.com/illya228666/all-tasks-and-launcher/tree/main/05_Array): `05_Array`
- [Class exercises](https://github.com/illya228666/all-tasks-and-launcher/tree/main/07_Klassen_und_Objekte): `07_Klassen_und_Objekte`
- [Input helpers](https://github.com/illya228666/all-tasks-and-launcher/blob/main/Helpes/Read.cs): `Helpes/Read.cs`
- [Log file helper](https://github.com/illya228666/all-tasks-and-launcher/blob/main/Helpes/LogFile.cs): `Helpes/LogFile.cs`

### Other components

- **User**

## Connections

- User → Launcher entry: starts (evidence: `Launcher/Program.cs`)
- Launcher entry → Startup session: creates session (evidence: `Launcher/Program.cs`)
- User → Controller view model: controls
- Controller view model → Device connection: starts and commands (evidence: `EspController/Presentation/ControllerViewModel.cs`)
- Device connection → Device protocols: uses protocol (evidence: `Launcher.Device/Connection/DeviceConnection.cs`)
- Device connection → Serial transport: uses transport (evidence: `Launcher.Device/Connection/DeviceConnection.cs`)
- Pet simulation → Pet activities: dispatches activities (evidence: `Launcher.Pet/PetWorld.cs`)
- Pet simulation → Pet environment: reads environment (evidence: `Launcher.Pet/PetWorld.cs`)
- Pet simulation → Life simulation: uses life world (evidence: `Launcher.Pet/PetWorld.cs`)
- Pet simulation → Hat physics: uses hat world (evidence: `Launcher.Pet/PetWorld.cs`)
- Pet simulation → Ruin exploration: uses ruin scene (evidence: `Launcher.Pet/PetWorld.cs`)
- Ruin exploration → Pet environment: supplies ruin geometry (evidence: `Launcher.Pet/Data/PetEnvironment.cs`)
- User → Selection exercises: runs exercises
- User → Iteration exercises: runs exercises
- User → File exercises: runs exercises
- User → Array exercises: runs exercises
- User → Class exercises: runs examples
- File exercises → Input helpers: reads input (evidence: `04_Dateiverarbeitung/02_mittel/Funktion_Schreiben_Lesen/Program.cs`)
- File exercises → Log file helper: writes and reads logs (evidence: `04_Dateiverarbeitung/02_mittel/Funktion_Schreiben_Lesen/Program.cs`)
- Iteration exercises → Input helpers: reads input (evidence: `03_Schleifen_Iteration/02_mittel/Millionaer_Lottogewinn/Program.cs`)
- Selection exercises → Input helpers: reads input (evidence: `02_Verzweigung_Selection/01_leicht/Kleinste_Zahl/Program.cs`)
- Array exercises → Input helpers: reads input (evidence: `05_Array/01_leicht/Array_Zimmervermietung/Program.cs`)
