# morg-and-rew/cooking-empire architecture

> Architecture diagram of the GitHub repository morg-and-rew/cooking-empire, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/morg-and-rew/cooking-empire
- Repository: https://github.com/morg-and-rew/cooking-empire

## Overview

This appears to be a Unity restaurant/cooking game, based on assets for food, machines, customers, orders, and restaurant scenes. The likely player journey is selecting a restaurant, preparing orders, and receiving progression or rewards; the tree also indicates quests, upgrades, and shop features. However, only an asset-file tree was provided: there is no README or source excerpt establishing runtime ownership, asset wiring, or call flow. The graph therefore maps recognizable product subsystems without asserting unsupported relationships.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_gameplay["Cooking gameplay"]
  node_restaurant["Restaurant scene"]
  node_food["Food and products"]
  node_machines["Cooking machines"]
  node_customers["Customer reactions"]
  node_orders["Order display"]
  node_goals["Level objectives"]
end

subgraph group_progression["Progression"]
  node_island["Island navigation"]
  node_quests["Quests"]
  node_battlepass["Battle pass"]
  node_achievements["Achievements"]
  node_levelup["Level-up feedback"]
end

subgraph group_commerce["Shop and rewards"]
  node_shop["Shop"]
  node_sale["Sale packs"]
  node_rubyupgrade["Ruby upgrades"]
  node_rewards["Reward panels"]
  node_dailyreward["Daily rewards"]
end

subgraph group_interface["Game interface"]
  node_tutorial["Tutorial prompts"]
  node_panels["Common panels"]
  node_profile["Profile and friends"]
  node_audio["Gameplay audio"]
end

node_player(("Player"))

click node_restaurant "https://github.com/morg-and-rew/cooking-empire/blob/gamepix/Assets/Animations/Restaurant.controller"
click node_food "https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/FoodAndProduct"
click node_machines "https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Audio/Machine"
click node_customers "https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Audio/Customer"
click node_orders "https://github.com/morg-and-rew/cooking-empire/blob/gamepix/Assets/Animations/OrderFrame.controller"
click node_goals "https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/GoalPanel"
click node_island "https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/Island"
click node_quests "https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/Quest"
click node_battlepass "https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/BattlePass"
click node_achievements "https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/Achivement"
click node_levelup "https://github.com/morg-and-rew/cooking-empire/blob/gamepix/Assets/Animations/LevelUpPanel.controller"
click node_shop "https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/ShopPanel"
click node_sale "https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/SalePack"
click node_rubyupgrade "https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/RubyUpgradePanel"
click node_rewards "https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/RewardPanel"
click node_dailyreward "https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/DailyReward"
click node_tutorial "https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/Tutorial"
click node_panels "https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/Common"
click node_profile "https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/ProfileButton"
click node_audio "https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Audio"

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_restaurant,node_food,node_machines,node_customers,node_orders,node_goals toneBlue
class node_island,node_quests,node_battlepass,node_achievements,node_levelup toneAmber
class node_shop,node_sale,node_rubyupgrade,node_rewards,node_dailyreward toneMint
class node_tutorial,node_panels,node_profile,node_audio toneRose
class node_player toneIndigo
```

## Components

### Cooking gameplay

- [Restaurant scene](https://github.com/morg-and-rew/cooking-empire/blob/gamepix/Assets/Animations/Restaurant.controller): `Assets/Animations/Restaurant.controller`
- [Food and products](https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/FoodAndProduct): `Assets/Animations/FoodAndProduct`
- [Cooking machines](https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Audio/Machine): `Assets/Audio/Machine`
- [Customer reactions](https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Audio/Customer): `Assets/Audio/Customer`
- [Order display](https://github.com/morg-and-rew/cooking-empire/blob/gamepix/Assets/Animations/OrderFrame.controller): `Assets/Animations/OrderFrame.controller`
- [Level objectives](https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/GoalPanel): `Assets/Animations/GoalPanel`

### Progression

- [Island navigation](https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/Island): `Assets/Animations/Island`
- [Quests](https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/Quest): `Assets/Animations/Quest`
- [Battle pass](https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/BattlePass): `Assets/Animations/BattlePass`
- [Achievements](https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/Achivement): `Assets/Animations/Achivement`
- [Level-up feedback](https://github.com/morg-and-rew/cooking-empire/blob/gamepix/Assets/Animations/LevelUpPanel.controller): `Assets/Animations/LevelUpPanel.controller`

### Shop and rewards

- [Shop](https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/ShopPanel): `Assets/Animations/ShopPanel`
- [Sale packs](https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/SalePack): `Assets/Animations/SalePack`
- [Ruby upgrades](https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/RubyUpgradePanel): `Assets/Animations/RubyUpgradePanel`
- [Reward panels](https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/RewardPanel): `Assets/Animations/RewardPanel`
- [Daily rewards](https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/DailyReward): `Assets/Animations/DailyReward`

### Game interface

- [Tutorial prompts](https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/Tutorial): `Assets/Animations/Tutorial`
- [Common panels](https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/Common): `Assets/Animations/Common`
- [Profile and friends](https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Animations/ProfileButton): `Assets/Animations/ProfileButton`
- [Gameplay audio](https://github.com/morg-and-rew/cooking-empire/tree/gamepix/Assets/Audio): `Assets/Audio`

### Other components

- **Player**
