# annabezerradev/a-revolta-das-letrinhas architecture

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

- Interactive diagram: https://gitdiagram.com/annabezerradev/a-revolta-das-letrinhas
- Repository: https://github.com/annabezerradev/a-revolta-das-letrinhas

## Overview

A Revolta das Letrinhas is a Unity educational game for practicing Portuguese spelling and grammar. Its documented player journey is to encounter story context, complete a word by choosing a letter or digraph, then—in advanced stages—identify its grammatical class, with feedback and lives supporting learning. The README also describes player profiles, trophies, adaptive audio, video, and display adaptation. Source excerpts were unavailable, so edges reflect only documented behavior; unsampled subsystem paths and implementation ownership remain uncertain.

Main entry points: [`Assets`](https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets) (Word challenges), [`Assets/Cenarios`](https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets/Cenarios) (Story context)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_play["Learning Gameplay"]
  node_gameplay["Word challenges"]
  node_spelling["Spelling choices"]
  node_grammar["Grammar challenge"]
  node_feedback["Lives and feedback"]
  node_context["Story context"]
  node_action["Action logic<br/>[Action.cs]"]
  node_gameplay_support["Gameplay support<br/>[ApoioGameplay.cs]"]
  node_card_button["Card button<br/>[CartaBotao.cs]"]
end

subgraph group_progress["Player Progress"]
  node_profiles["Player profiles"]
  node_trophies["Trophies and achievements"]
  node_teacher["Teacher area<br/>[AreaDoProfessor.cs]"]
end

subgraph group_presentation["Game Presentation"]
  node_audio["Sound manager"]
  node_video["Videos and cinematics"]
  node_animation["Character animation"]
end

subgraph group_runtime["Runtime Support"]
  node_display["Aspect ratio"]
end

node_player(("Child player"))

node_player -->|"plays"| node_gameplay
node_gameplay -->|"views before challenges"| node_context
node_gameplay -->|"offers choices"| node_spelling
node_gameplay -->|"continues to"| node_grammar
node_gameplay -->|"provides feedback"| node_feedback
node_player -->|"selects profile"| node_profiles
node_gameplay -->|"earns achievements"| node_trophies
node_gameplay -->|"plays adaptive audio"| node_audio
node_context -->|"presents videos"| node_video

click node_gameplay "https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets"
click node_spelling "https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets"
click node_grammar "https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets"
click node_feedback "https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets"
click node_context "https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets/Cenarios"
click node_profiles "https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets"
click node_trophies "https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets"
click node_teacher "https://github.com/annabezerradev/a-revolta-das-letrinhas/blob/main/Assets/AreaDoProfessor.cs"
click node_action "https://github.com/annabezerradev/a-revolta-das-letrinhas/blob/main/Assets/Action.cs"
click node_gameplay_support "https://github.com/annabezerradev/a-revolta-das-letrinhas/blob/main/Assets/ApoioGameplay.cs"
click node_card_button "https://github.com/annabezerradev/a-revolta-das-letrinhas/blob/main/Assets/CartaBotao.cs"
click node_audio "https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets"
click node_video "https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets"
click node_animation "https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets/Animacao"
click node_display "https://github.com/annabezerradev/a-revolta-das-letrinhas/blob/main/Assets/AspectRatioManager.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_gameplay,node_spelling,node_grammar,node_feedback,node_context,node_action,node_gameplay_support,node_card_button toneBlue
class node_profiles,node_trophies,node_teacher toneAmber
class node_audio,node_video,node_animation toneMint
class node_display toneRose
class node_player toneIndigo
```

## Components

### Learning Gameplay

- [Word challenges](https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets): `Assets`
- [Spelling choices](https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets): `Assets`
- [Grammar challenge](https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets): `Assets`
- [Lives and feedback](https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets): `Assets`
- [Story context](https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets/Cenarios): `Assets/Cenarios`
- [Action logic](https://github.com/annabezerradev/a-revolta-das-letrinhas/blob/main/Assets/Action.cs): `Assets/Action.cs`
- [Gameplay support](https://github.com/annabezerradev/a-revolta-das-letrinhas/blob/main/Assets/ApoioGameplay.cs): `Assets/ApoioGameplay.cs`
- [Card button](https://github.com/annabezerradev/a-revolta-das-letrinhas/blob/main/Assets/CartaBotao.cs): `Assets/CartaBotao.cs`

### Player Progress

- [Player profiles](https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets): `Assets`
- [Trophies and achievements](https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets): `Assets`
- [Teacher area](https://github.com/annabezerradev/a-revolta-das-letrinhas/blob/main/Assets/AreaDoProfessor.cs): `Assets/AreaDoProfessor.cs`

### Game Presentation

- [Sound manager](https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets): `Assets`
- [Videos and cinematics](https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets): `Assets`
- [Character animation](https://github.com/annabezerradev/a-revolta-das-letrinhas/tree/main/Assets/Animacao): `Assets/Animacao`

### Runtime Support

- [Aspect ratio](https://github.com/annabezerradev/a-revolta-das-letrinhas/blob/main/Assets/AspectRatioManager.cs): `Assets/AspectRatioManager.cs`

### Other components

- **Child player**

## Connections

- Child player → Word challenges: plays (evidence: `README.md`)
- Word challenges → Story context: views before challenges (evidence: `README.md`)
- Word challenges → Spelling choices: offers choices (evidence: `README.md`)
- Word challenges → Grammar challenge: continues to (evidence: `README.md`)
- Word challenges → Lives and feedback: provides feedback (evidence: `README.md`)
- Child player → Player profiles: selects profile (evidence: `README.md`)
- Word challenges → Trophies and achievements: earns achievements (evidence: `README.md`)
- Word challenges → Sound manager: plays adaptive audio (evidence: `README.md`)
- Story context → Videos and cinematics: presents videos (evidence: `README.md`)
