# billtruong003/food-ping-pong architecture

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

- Interactive diagram: https://gitdiagram.com/billtruong003/food-ping-pong
- Repository: https://github.com/billtruong003/food-ping-pong

## Overview

Drag & Slice: Culinary Journey is a mobile action/adventure game combining drag-and-shoot combat, ingredient collection, cooking, crafting, and progression. Its documented player loop is to shoot at ingredients, collect materials, cook or craft food, earn money and extra shots, and purchase weapons. The tree contains Unity asset folders but no gameplay source excerpts, so gameplay component paths are left null; edges reflect only relationships stated in the README.

Main entry points: [`Assets/2D Pixel Art Icon`](https://github.com/billtruong003/food-ping-pong/tree/main/Assets/2D%20Pixel%20Art%20Icon) (Pixel Art Assets)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_gameplay["Gameplay"]
  node_drag_shoot["Drag and Shoot"]
  node_combat["Combat"]
  node_collection["Material Collection"]
end

subgraph group_culinary["Culinary Progression"]
  node_cooking["Cooking Minigame"]
  node_crafting["Crafting"]
  node_rewards["Money and Shots"]
  node_weapon_shop["Weapon Purchases"]
end

subgraph group_world["World and Art"]
  node_environments["Environments"]
  node_pixel_art["Pixel Art Assets"]
end

subgraph group_services["Backend"]
  node_firebase["Firebase"]
end

node_player(("Player"))

node_player -->|"drags and shoots"| node_drag_shoot
node_drag_shoot -->|"targets ingredients"| node_collection
node_drag_shoot -->|"engages"| node_combat
node_combat -->|"collects items"| node_collection
node_collection -->|"supplies materials"| node_cooking
node_collection -->|"supplies materials"| node_crafting
node_cooking -->|"earns rewards"| node_rewards
node_crafting -->|"earns money"| node_rewards
node_rewards -->|"funds purchases"| node_weapon_shop
node_rewards -->|"enables continued collection"| node_collection
node_rewards -->|"grants extra shots"| node_drag_shoot
node_player -->|"explores"| node_environments
node_environments -->|"host combat"| node_combat
node_pixel_art -.->|"provides artwork"| node_environments
node_player -.->|"uses backend"| node_firebase

click node_pixel_art "https://github.com/billtruong003/food-ping-pong/tree/main/Assets/2D%20Pixel%20Art%20Icon"

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_drag_shoot,node_combat,node_collection toneBlue
class node_cooking,node_crafting,node_rewards,node_weapon_shop toneAmber
class node_environments,node_pixel_art toneMint
class node_firebase toneRose
class node_player toneIndigo
```

## Components

### Gameplay

- **Drag and Shoot**
- **Combat**
- **Material Collection**

### Culinary Progression

- **Cooking Minigame**
- **Crafting**
- **Money and Shots**
- **Weapon Purchases**

### World and Art

- **Environments**
- [Pixel Art Assets](https://github.com/billtruong003/food-ping-pong/tree/main/Assets/2D%20Pixel%20Art%20Icon): `Assets/2D Pixel Art Icon`

### Backend

- **Firebase**

### Other components

- **Player**

## Connections

- Player → Drag and Shoot: drags and shoots
- Drag and Shoot → Material Collection: targets ingredients
- Drag and Shoot → Combat: engages
- Combat → Material Collection: collects items
- Material Collection → Cooking Minigame: supplies materials
- Material Collection → Crafting: supplies materials
- Cooking Minigame → Money and Shots: earns rewards
- Crafting → Money and Shots: earns money
- Money and Shots → Weapon Purchases: funds purchases
- Money and Shots → Material Collection: enables continued collection
- Money and Shots → Drag and Shoot: grants extra shots
- Player → Environments: explores
- Environments → Combat: host combat
- Pixel Art Assets → Environments: provides artwork
- Player → Firebase: uses backend
