# srikanth-jeldi/arrownova architecture

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

- Interactive diagram: https://gitdiagram.com/srikanth-jeldi/arrownova
- Repository: https://github.com/srikanth-jeldi/arrownova

## Overview

ArrowNova is an offline, single-player Flutter arrow-puzzle game; its primary journey is guided practice, Classic-level play, and a victory that records progress and supports garden rewards. The README also documents daily puzzles, themes, ads, audio, and an experimental duel server. Paths identify the corresponding source modules, but the Dart implementation was not excerpted, so internal wiring is shown only where documented; other likely connections are dashed and unverified.

Main entry points: [`mobile/lib/game_screen.dart`](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/game_screen.dart) (Puzzle session), [`mobile/lib/app.dart`](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/app.dart) (App shell), [`mobile/lib/daily_chest_screen.dart`](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/daily_chest_screen.dart) (Daily Chest), [`mobile/lib/chapters_screen.dart`](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/chapters_screen.dart) (Practice and chapters)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_play["Puzzle Play"]
  node_app["App shell<br/>[app.dart]"]
  node_chapters["Practice and chapters"]
  node_game["Puzzle session<br/>[game_screen.dart]"]
  node_board["Arrow board<br/>[board.dart]"]
  node_puzzles["Puzzle levels<br/>[puzzle.dart]"]
  node_victory["Victory results"]
  node_daily["Daily puzzles<br/>[daily.dart]"]
  node_chest["Daily Chest"]
  node_themes["Board themes"]
end

subgraph group_progress["Progress and Rewards"]
  node_progressstore[("Local progress")]
  node_garden["Garden rewards<br/>[garden_screen.dart]"]
  node_catalog["Decoration catalog"]
end

subgraph group_services["Game Services"]
  node_ads["Ad rewards<br/>[ads.dart]"]
  node_adpacing["Ad pacing<br/>[ad_pacing.dart]"]
  node_music["Music and sound<br/>[music_service.dart]"]
  node_reminders["Local reminders<br/>[reminders.dart]"]
end

subgraph group_duel["Experimental Duel"]
  node_duelclient["Duel client<br/>[duel_client.dart]"]
  node_duelscreen["Duel screen<br/>[duel_screen.dart]"]
  node_duelserver["Duel service<br/>[duel_server.dart]"]
end

node_player(("Player"))
node_duelplayers(("Duel clients"))

node_player -->|"starts game"| node_app
node_app -.->|"opens practice"| node_chapters
node_chapters -.->|"starts level"| node_game
node_game -.->|"uses levels"| node_puzzles
node_game -.->|"renders paths"| node_board
node_game -.->|"shows result"| node_victory
node_victory -.->|"records progress"| node_progressstore
node_progressstore -.->|"supplies progress"| node_garden
node_garden -.->|"offers decorations"| node_catalog
node_player -->|"opens chest"| node_chest
node_chest -.->|"offers puzzles"| node_daily
node_chest -->|"unlocks by ad"| node_ads
node_player -.->|"chooses theme"| node_themes
node_game -.->|"requests hints"| node_ads
node_game -.->|"checks pacing"| node_adpacing
node_app -.->|"controls audio"| node_music
node_app -.->|"offers reminders"| node_reminders
node_duelplayers -->|"connects"| node_duelserver
node_duelserver -.->|"serves sessions"| node_duelclient
node_duelclient -.->|"supports play"| node_duelscreen

click node_app "https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/app.dart"
click node_chapters "https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/chapters_screen.dart"
click node_game "https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/game_screen.dart"
click node_board "https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/game/board.dart"
click node_puzzles "https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/game/puzzle.dart"
click node_victory "https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/victory_screen.dart"
click node_progressstore "https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/core/progress_store.dart"
click node_garden "https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/garden/garden_screen.dart"
click node_catalog "https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/garden/garden_catalog.dart"
click node_daily "https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/game/daily.dart"
click node_chest "https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/daily_chest_screen.dart"
click node_themes "https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/theme_shop_screen.dart"
click node_ads "https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/core/ads.dart"
click node_adpacing "https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/core/ad_pacing.dart"
click node_music "https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/core/music_service.dart"
click node_reminders "https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/core/reminders.dart"
click node_duelclient "https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/duel/duel_client.dart"
click node_duelscreen "https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/duel/duel_screen.dart"
click node_duelserver "https://github.com/srikanth-jeldi/arrownova/blob/main/server/duel_server.dart"

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_chapters,node_game,node_board,node_puzzles,node_victory,node_daily,node_chest,node_themes,node_duelplayers toneBlue
class node_progressstore,node_garden,node_catalog toneAmber
class node_ads,node_adpacing,node_music,node_reminders toneMint
class node_duelclient,node_duelscreen,node_duelserver toneRose
class node_player toneIndigo
```

## Components

### Puzzle Play

- [App shell](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/app.dart): `mobile/lib/app.dart`
- [Practice and chapters](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/chapters_screen.dart): `mobile/lib/chapters_screen.dart`
- [Puzzle session](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/game_screen.dart): `mobile/lib/game_screen.dart`
- [Arrow board](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/game/board.dart): `mobile/lib/game/board.dart`
- [Puzzle levels](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/game/puzzle.dart): `mobile/lib/game/puzzle.dart`
- [Victory results](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/victory_screen.dart): `mobile/lib/victory_screen.dart`
- [Daily puzzles](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/game/daily.dart): `mobile/lib/game/daily.dart`
- [Daily Chest](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/daily_chest_screen.dart): `mobile/lib/daily_chest_screen.dart`
- [Board themes](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/theme_shop_screen.dart): `mobile/lib/theme_shop_screen.dart`

### Progress and Rewards

- [Local progress](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/core/progress_store.dart): `mobile/lib/core/progress_store.dart`
- [Garden rewards](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/garden/garden_screen.dart): `mobile/lib/garden/garden_screen.dart`
- [Decoration catalog](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/garden/garden_catalog.dart): `mobile/lib/garden/garden_catalog.dart`

### Game Services

- [Ad rewards](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/core/ads.dart): `mobile/lib/core/ads.dart`
- [Ad pacing](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/core/ad_pacing.dart): `mobile/lib/core/ad_pacing.dart`
- [Music and sound](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/core/music_service.dart): `mobile/lib/core/music_service.dart`
- [Local reminders](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/core/reminders.dart): `mobile/lib/core/reminders.dart`

### Experimental Duel

- [Duel client](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/duel/duel_client.dart): `mobile/lib/duel/duel_client.dart`
- [Duel screen](https://github.com/srikanth-jeldi/arrownova/blob/main/mobile/lib/duel/duel_screen.dart): `mobile/lib/duel/duel_screen.dart`
- [Duel service](https://github.com/srikanth-jeldi/arrownova/blob/main/server/duel_server.dart): `server/duel_server.dart`

### Other components

- **Player**
- **Duel clients**

## Connections

- Player → App shell: starts game (evidence: `README.md`)
- App shell → Practice and chapters: opens practice
- Practice and chapters → Puzzle session: starts level
- Puzzle session → Puzzle levels: uses levels
- Puzzle session → Arrow board: renders paths
- Puzzle session → Victory results: shows result
- Victory results → Local progress: records progress
- Local progress → Garden rewards: supplies progress
- Garden rewards → Decoration catalog: offers decorations
- Player → Daily Chest: opens chest (evidence: `README.md`)
- Daily Chest → Daily puzzles: offers puzzles
- Daily Chest → Ad rewards: unlocks by ad (evidence: `README.md`)
- Player → Board themes: chooses theme
- Puzzle session → Ad rewards: requests hints
- Puzzle session → Ad pacing: checks pacing
- App shell → Music and sound: controls audio
- App shell → Local reminders: offers reminders
- Duel clients → Duel service: connects (evidence: `README.md`)
- Duel service → Duel client: serves sessions
- Duel client → Duel screen: supports play
