# daiki-vivienne/game-set-automation-lab architecture

> Architecture diagram of the GitHub repository daiki-vivienne/game-set-automation-lab, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/daiki-vivienne/game-set-automation-lab
- Repository: https://github.com/daiki-vivienne/game-set-automation-lab

## Overview

This repository is a Unity/C# turn-based roguelike project, with automation and testing described as portfolio goals. A likely user workflow is player input through the Unity presentation into game state and map logic; the tree also shows a separate automation area. No source excerpts were provided, so the internal calls and data flow cannot be verified. Dashed edges indicate inferred connections, not inspected implementation details.

Main entry points: [`Assets/_Project/Core/GameState.cs`](https://github.com/daiki-vivienne/game-set-automation-lab/blob/main/Assets/_Project/Core/GameState.cs) (Game State), [`Assets/InputSystem_Actions.inputactions`](https://github.com/daiki-vivienne/game-set-automation-lab/blob/main/Assets/InputSystem_Actions.inputactions) (Input Actions), [`Assets/_Project/Presentation`](https://github.com/daiki-vivienne/game-set-automation-lab/tree/main/Assets/_Project/Presentation) (Unity Presentation), [`Assets/_Project/Automation`](https://github.com/daiki-vivienne/game-set-automation-lab/tree/main/Assets/_Project/Automation) (Automation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_gameplay["Gameplay"]
  node_state["Game State<br/>[GameState.cs]"]
  node_map["Fixed Map<br/>[FixedMap.cs]"]
  node_direction["Direction<br/>[Direction.cs]"]
end

subgraph group_unity["Unity Presentation"]
  node_scene["Sample Scene<br/>[SampleScene.unity]"]
  node_input["Input Actions"]
  node_presentation["Unity Presentation"]
end

subgraph group_automation["Automation"]
  node_automation["Automation"]
end

node_player(("Player"))

node_player -.->|"provides input"| node_input
node_input -.->|"feeds controls"| node_presentation
node_presentation -.->|"updates state"| node_state
node_state -.->|"uses map"| node_map
node_state -.->|"uses direction"| node_direction
node_automation -.->|"drives gameplay"| node_scene

click node_scene "https://github.com/daiki-vivienne/game-set-automation-lab/blob/main/Assets/Scenes/SampleScene.unity"
click node_input "https://github.com/daiki-vivienne/game-set-automation-lab/blob/main/Assets/InputSystem_Actions.inputactions"
click node_presentation "https://github.com/daiki-vivienne/game-set-automation-lab/tree/main/Assets/_Project/Presentation"
click node_state "https://github.com/daiki-vivienne/game-set-automation-lab/blob/main/Assets/_Project/Core/GameState.cs"
click node_map "https://github.com/daiki-vivienne/game-set-automation-lab/blob/main/Assets/_Project/Core/FixedMap.cs"
click node_direction "https://github.com/daiki-vivienne/game-set-automation-lab/blob/main/Assets/_Project/Core/Direction.cs"
click node_automation "https://github.com/daiki-vivienne/game-set-automation-lab/tree/main/Assets/_Project/Automation"

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_state,node_map,node_direction toneBlue
class node_scene,node_input,node_presentation toneAmber
class node_automation toneMint
class node_player toneIndigo
```

## Components

### Gameplay

- [Game State](https://github.com/daiki-vivienne/game-set-automation-lab/blob/main/Assets/_Project/Core/GameState.cs): `Assets/_Project/Core/GameState.cs`
- [Fixed Map](https://github.com/daiki-vivienne/game-set-automation-lab/blob/main/Assets/_Project/Core/FixedMap.cs): `Assets/_Project/Core/FixedMap.cs`
- [Direction](https://github.com/daiki-vivienne/game-set-automation-lab/blob/main/Assets/_Project/Core/Direction.cs): `Assets/_Project/Core/Direction.cs`

### Unity Presentation

- [Sample Scene](https://github.com/daiki-vivienne/game-set-automation-lab/blob/main/Assets/Scenes/SampleScene.unity): `Assets/Scenes/SampleScene.unity`
- [Input Actions](https://github.com/daiki-vivienne/game-set-automation-lab/blob/main/Assets/InputSystem_Actions.inputactions): `Assets/InputSystem_Actions.inputactions`
- [Unity Presentation](https://github.com/daiki-vivienne/game-set-automation-lab/tree/main/Assets/_Project/Presentation): `Assets/_Project/Presentation`

### Automation

- [Automation](https://github.com/daiki-vivienne/game-set-automation-lab/tree/main/Assets/_Project/Automation): `Assets/_Project/Automation`

### Other components

- **Player**

## Connections

- Player → Input Actions: provides input
- Input Actions → Unity Presentation: feeds controls
- Unity Presentation → Game State: updates state
- Game State → Fixed Map: uses map
- Game State → Direction: uses direction
- Automation → Sample Scene: drives gameplay
