# gaels-dev/atarigo architecture

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

- Interactive diagram: https://gitdiagram.com/gaels-dev/atarigo
- Repository: https://github.com/gaels-dev/atarigo

## Overview

This repository is a minimal WPF client shell alongside an ASP.NET Core gRPC greeting server—not an implemented Atari Go game. The server registers gRPC and maps its Greeter service; that service logs a caller’s name and returns a greeting. The proto file defines the RPC contract. The sampled client code only initializes the application and main window; no game behavior or client-to-server call is shown, so their relationship is not inferred.

Main entry points: [`AtariGo.Server/Program.cs`](https://github.com/gaels-dev/atarigo/blob/main/AtariGo.Server/Program.cs) (Server host), [`AtariGo.Server/Services/GreeterService.cs`](https://github.com/gaels-dev/atarigo/blob/main/AtariGo.Server/Services/GreeterService.cs) (Greeting service)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["WPF client shell"]
  node_app["WPF application<br/>[App.xaml.cs]"]
  node_window["Main window<br/>[MainWindow.xaml.cs]"]
end

subgraph group_server["gRPC greeting server"]
  node_host["Server host<br/>[Program.cs]"]
  node_contract["Greeter contract<br/>[greet.proto]"]
  node_greeter["Greeting service<br/>[GreeterService.cs]"]
end

node_user(("User"))

node_host -->|"maps gRPC"| node_greeter

click node_app "https://github.com/gaels-dev/atarigo/blob/main/AtariGo.Client/App.xaml.cs"
click node_window "https://github.com/gaels-dev/atarigo/blob/main/AtariGo.Client/Views/MainWindow.xaml.cs"
click node_host "https://github.com/gaels-dev/atarigo/blob/main/AtariGo.Server/Program.cs"
click node_contract "https://github.com/gaels-dev/atarigo/blob/main/AtariGo.Server/Protos/greet.proto"
click node_greeter "https://github.com/gaels-dev/atarigo/blob/main/AtariGo.Server/Services/GreeterService.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_app,node_window,node_user toneBlue
class node_host,node_contract,node_greeter toneAmber
```

## Components

### WPF client shell

- [WPF application](https://github.com/gaels-dev/atarigo/blob/main/AtariGo.Client/App.xaml.cs): `AtariGo.Client/App.xaml.cs`
- [Main window](https://github.com/gaels-dev/atarigo/blob/main/AtariGo.Client/Views/MainWindow.xaml.cs): `AtariGo.Client/Views/MainWindow.xaml.cs`

### gRPC greeting server

- [Server host](https://github.com/gaels-dev/atarigo/blob/main/AtariGo.Server/Program.cs): `AtariGo.Server/Program.cs`
- [Greeter contract](https://github.com/gaels-dev/atarigo/blob/main/AtariGo.Server/Protos/greet.proto): `AtariGo.Server/Protos/greet.proto`
- [Greeting service](https://github.com/gaels-dev/atarigo/blob/main/AtariGo.Server/Services/GreeterService.cs): `AtariGo.Server/Services/GreeterService.cs`

### Other components

- **User**

## Connections

- Server host → Greeting service: maps gRPC (evidence: `AtariGo.Server/Program.cs`)
