# nourchene-hamrita/guesswords architecture

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

- Interactive diagram: https://gitdiagram.com/nourchene-hamrita/guesswords
- Repository: https://github.com/nourchene-hamrita/guesswords

## Overview

This appears to be a Unity word-puzzle game with Harry Potter-themed artwork: the asset names suggest letter selection, answer slots, level progression, and completion feedback. The tree contains prefabs, graphics, animation controllers, and UI/audio assets, but no README or source excerpts. Consequently, the graph identifies likely product components but does not assert runtime calls or data flow; dashed links indicate unverified relationships inferred from asset names.

Main entry points: [`Assets/Prefabs/AnswerWordPrefab.prefab`](https://github.com/nourchene-hamrita/guesswords/blob/main/Assets/Prefabs/AnswerWordPrefab.prefab) (Answer slots), [`Assets/Prefabs/GridSquare.prefab`](https://github.com/nourchene-hamrita/guesswords/blob/main/Assets/Prefabs/GridSquare.prefab) (Letter grid), [`Assets/Graphics/Word.png.meta`](https://github.com/nourchene-hamrita/guesswords/blob/main/Assets/Graphics/Word.png.meta) (Word artwork), [`Assets/Graphics/level1.png.meta`](https://github.com/nourchene-hamrita/guesswords/blob/main/Assets/Graphics/level1.png.meta) (Level selection)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_puzzle["Puzzle content"]
  node_letter_art["Letter artwork"]
  node_grid_prefab["Letter grid<br/>[GridSquare.prefab]"]
  node_answer_prefab["Answer slots"]
  node_word_art["Word artwork<br/>[Word.png.meta]"]
end

subgraph group_progress["Progression UI"]
  node_level_ui["Level selection<br/>[level1.png.meta]"]
  node_completion_ui["Completion feedback"]
end

subgraph group_presentation["Presentation"]
  node_character_art["Character artwork<br/>[Characters.prefab]"]
  node_menu_art["Menu artwork<br/>[logo.png.meta]"]
  node_game_animations["UI animations"]
  node_menu_audio["Menu sound effects"]
end

node_player(("Player"))

node_player -.->|"selects letters"| node_grid_prefab
node_grid_prefab -.->|"fills slots"| node_answer_prefab
node_answer_prefab -.->|"forms word"| node_word_art
node_player -.->|"chooses level"| node_level_ui
node_answer_prefab -.->|"may trigger"| node_completion_ui

click node_letter_art "https://github.com/nourchene-hamrita/guesswords/tree/main/Assets/Graphics/Letters"
click node_grid_prefab "https://github.com/nourchene-hamrita/guesswords/blob/main/Assets/Prefabs/GridSquare.prefab"
click node_answer_prefab "https://github.com/nourchene-hamrita/guesswords/blob/main/Assets/Prefabs/AnswerWordPrefab.prefab"
click node_word_art "https://github.com/nourchene-hamrita/guesswords/blob/main/Assets/Graphics/Word.png.meta"
click node_level_ui "https://github.com/nourchene-hamrita/guesswords/blob/main/Assets/Graphics/level1.png.meta"
click node_completion_ui "https://github.com/nourchene-hamrita/guesswords/blob/main/Assets/Graphics/Level%20Completed.png.meta"
click node_character_art "https://github.com/nourchene-hamrita/guesswords/blob/main/Assets/Prefabs/Characters.prefab"
click node_menu_art "https://github.com/nourchene-hamrita/guesswords/blob/main/Assets/Graphics/logo.png.meta"
click node_game_animations "https://github.com/nourchene-hamrita/guesswords/tree/main/Assets/Animations"
click node_menu_audio "https://github.com/nourchene-hamrita/guesswords/tree/main/Assets/Fantasy%20Menu%20SFX"

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_letter_art,node_grid_prefab,node_answer_prefab,node_word_art toneBlue
class node_level_ui,node_completion_ui toneAmber
class node_character_art,node_menu_art,node_game_animations,node_menu_audio toneMint
class node_player toneIndigo
```

## Components

### Puzzle content

- [Letter artwork](https://github.com/nourchene-hamrita/guesswords/tree/main/Assets/Graphics/Letters): `Assets/Graphics/Letters`
- [Letter grid](https://github.com/nourchene-hamrita/guesswords/blob/main/Assets/Prefabs/GridSquare.prefab): `Assets/Prefabs/GridSquare.prefab`
- [Answer slots](https://github.com/nourchene-hamrita/guesswords/blob/main/Assets/Prefabs/AnswerWordPrefab.prefab): `Assets/Prefabs/AnswerWordPrefab.prefab`
- [Word artwork](https://github.com/nourchene-hamrita/guesswords/blob/main/Assets/Graphics/Word.png.meta): `Assets/Graphics/Word.png.meta`

### Progression UI

- [Level selection](https://github.com/nourchene-hamrita/guesswords/blob/main/Assets/Graphics/level1.png.meta): `Assets/Graphics/level1.png.meta`
- [Completion feedback](https://github.com/nourchene-hamrita/guesswords/blob/main/Assets/Graphics/Level%20Completed.png.meta): `Assets/Graphics/Level Completed.png.meta`

### Presentation

- [Character artwork](https://github.com/nourchene-hamrita/guesswords/blob/main/Assets/Prefabs/Characters.prefab): `Assets/Prefabs/Characters.prefab`
- [Menu artwork](https://github.com/nourchene-hamrita/guesswords/blob/main/Assets/Graphics/logo.png.meta): `Assets/Graphics/logo.png.meta`
- [UI animations](https://github.com/nourchene-hamrita/guesswords/tree/main/Assets/Animations): `Assets/Animations`
- [Menu sound effects](https://github.com/nourchene-hamrita/guesswords/tree/main/Assets/Fantasy%20Menu%20SFX): `Assets/Fantasy Menu SFX`

### Other components

- **Player**

## Connections

- Player → Letter grid: selects letters
- Letter grid → Answer slots: fills slots
- Answer slots → Word artwork: forms word
- Player → Level selection: chooses level
- Answer slots → Completion feedback: may trigger
