# nourrdiab/team1-project2 architecture

> Architecture diagram of the GitHub repository nourrdiab/team1-project2, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/nourrdiab/team1-project2
- Repository: https://github.com/nourrdiab/team1-project2

## Overview

This appears to be a Unity 2D platformer project: its assets include player movement and combat animations, level scenes, and scripts named for checkpoints, enemies, keys, chests, and saving. The likely player workflow is to play a level, interact with these world elements, and preserve progress. The tree provides no README or source excerpts, so component connections and runtime ownership cannot be verified; the graph therefore shows the identifiable product areas without asserting call or data flow.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_player["Player presentation"]
  node_player_animations["Player animations"]
  node_animator_controller["Animator controller"]
  node_attack_animation["Attack animation<br/>[Player_Attack.anim]"]
  node_hurt_animation["Hurt animation<br/>[Player_Hurt.anim]"]
  node_death_animation["Death animation<br/>[Player_Die.anim]"]
end

subgraph group_world["World interactions"]
  node_checkpoint["Checkpoints<br/>[CheckPoint.cs]"]
  node_enemy_checker["Enemy detection<br/>[EnemyChecker.cs]"]
  node_key_pickup["Key pickup<br/>[KeyPickup.cs]"]
  node_chest_open["Chest interaction<br/>[ChestOpen.cs]"]
end

subgraph group_progress["Progress persistence"]
  node_save_data["Save data<br/>[SaveData.cs]"]
  node_save_manager["Save manager<br/>[SaveManager.cs]"]
end

subgraph group_levels["Scenes and levels"]
  node_diab_scene["Diab test scene"]
  node_hammoud_test["Hammoud test scene"]
  node_level_one["Level one<br/>[Level1.unity]"]
  node_itani_sample["Itani sample scene"]
  node_itani_test["Itani test scene"]
  node_omari_test["Omari test scene"]
end

node_player_actor(("Player"))

click node_player_animations "https://github.com/nourrdiab/team1-project2/tree/main/Assets/Diab/Animations"
click node_animator_controller "https://github.com/nourrdiab/team1-project2/blob/main/Assets/Diab/Animations/Player_Animator.controller"
click node_attack_animation "https://github.com/nourrdiab/team1-project2/blob/main/Assets/Diab/Animations/Player_Attack.anim"
click node_hurt_animation "https://github.com/nourrdiab/team1-project2/blob/main/Assets/Diab/Animations/Player_Hurt.anim"
click node_death_animation "https://github.com/nourrdiab/team1-project2/blob/main/Assets/Diab/Animations/Player_Die.anim"
click node_checkpoint "https://github.com/nourrdiab/team1-project2/blob/main/Assets/Omari/CheckPoint.cs"
click node_enemy_checker "https://github.com/nourrdiab/team1-project2/blob/main/Assets/Omari/EnemyChecker.cs"
click node_key_pickup "https://github.com/nourrdiab/team1-project2/blob/main/Assets/Omari/KeyPickup.cs"
click node_chest_open "https://github.com/nourrdiab/team1-project2/blob/main/Assets/Omari/ChestOpen.cs"
click node_save_data "https://github.com/nourrdiab/team1-project2/blob/main/Assets/Omari/SaveData.cs"
click node_save_manager "https://github.com/nourrdiab/team1-project2/blob/main/Assets/Omari/SaveManager.cs"
click node_diab_scene "https://github.com/nourrdiab/team1-project2/blob/main/Assets/Diab/Diab_TestScene.unity"
click node_hammoud_test "https://github.com/nourrdiab/team1-project2/blob/main/Assets/Hammoud/Hammoud_TestScene.unity"
click node_level_one "https://github.com/nourrdiab/team1-project2/blob/main/Assets/Hammoud/Level1.unity"
click node_itani_sample "https://github.com/nourrdiab/team1-project2/blob/main/Assets/Itani/Itani_SampleScene.unity"
click node_itani_test "https://github.com/nourrdiab/team1-project2/blob/main/Assets/Itani/Itani_TestScene.unity"
click node_omari_test "https://github.com/nourrdiab/team1-project2/blob/main/Assets/Omari/Omari_TestScene.unity"

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_player_animations,node_animator_controller,node_attack_animation,node_hurt_animation,node_death_animation toneBlue
class node_checkpoint,node_enemy_checker,node_key_pickup,node_chest_open toneAmber
class node_save_data,node_save_manager toneMint
class node_diab_scene,node_hammoud_test,node_level_one,node_itani_sample,node_itani_test,node_omari_test toneRose
class node_player_actor toneIndigo
```

## Components

### Player presentation

- [Player animations](https://github.com/nourrdiab/team1-project2/tree/main/Assets/Diab/Animations): `Assets/Diab/Animations`
- [Animator controller](https://github.com/nourrdiab/team1-project2/blob/main/Assets/Diab/Animations/Player_Animator.controller): `Assets/Diab/Animations/Player_Animator.controller`
- [Attack animation](https://github.com/nourrdiab/team1-project2/blob/main/Assets/Diab/Animations/Player_Attack.anim): `Assets/Diab/Animations/Player_Attack.anim`
- [Hurt animation](https://github.com/nourrdiab/team1-project2/blob/main/Assets/Diab/Animations/Player_Hurt.anim): `Assets/Diab/Animations/Player_Hurt.anim`
- [Death animation](https://github.com/nourrdiab/team1-project2/blob/main/Assets/Diab/Animations/Player_Die.anim): `Assets/Diab/Animations/Player_Die.anim`

### World interactions

- [Checkpoints](https://github.com/nourrdiab/team1-project2/blob/main/Assets/Omari/CheckPoint.cs): `Assets/Omari/CheckPoint.cs`
- [Enemy detection](https://github.com/nourrdiab/team1-project2/blob/main/Assets/Omari/EnemyChecker.cs): `Assets/Omari/EnemyChecker.cs`
- [Key pickup](https://github.com/nourrdiab/team1-project2/blob/main/Assets/Omari/KeyPickup.cs): `Assets/Omari/KeyPickup.cs`
- [Chest interaction](https://github.com/nourrdiab/team1-project2/blob/main/Assets/Omari/ChestOpen.cs): `Assets/Omari/ChestOpen.cs`

### Progress persistence

- [Save data](https://github.com/nourrdiab/team1-project2/blob/main/Assets/Omari/SaveData.cs): `Assets/Omari/SaveData.cs`
- [Save manager](https://github.com/nourrdiab/team1-project2/blob/main/Assets/Omari/SaveManager.cs): `Assets/Omari/SaveManager.cs`

### Scenes and levels

- [Diab test scene](https://github.com/nourrdiab/team1-project2/blob/main/Assets/Diab/Diab_TestScene.unity): `Assets/Diab/Diab_TestScene.unity`
- [Hammoud test scene](https://github.com/nourrdiab/team1-project2/blob/main/Assets/Hammoud/Hammoud_TestScene.unity): `Assets/Hammoud/Hammoud_TestScene.unity`
- [Level one](https://github.com/nourrdiab/team1-project2/blob/main/Assets/Hammoud/Level1.unity): `Assets/Hammoud/Level1.unity`
- [Itani sample scene](https://github.com/nourrdiab/team1-project2/blob/main/Assets/Itani/Itani_SampleScene.unity): `Assets/Itani/Itani_SampleScene.unity`
- [Itani test scene](https://github.com/nourrdiab/team1-project2/blob/main/Assets/Itani/Itani_TestScene.unity): `Assets/Itani/Itani_TestScene.unity`
- [Omari test scene](https://github.com/nourrdiab/team1-project2/blob/main/Assets/Omari/Omari_TestScene.unity): `Assets/Omari/Omari_TestScene.unity`

### Other components

- **Player**
