# adrianmartinezcorrea81-hash/tamapocho architecture

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

- Interactive diagram: https://gitdiagram.com/adrianmartinezcorrea81-hash/tamapocho
- Repository: https://github.com/adrianmartinezcorrea81-hash/tamapocho

## Overview

Tamapocho is a console pet-raising game. The player starts or resumes a save, chooses a Tamapocho type, then uses its type-specific gameplay loop to care for it, earn currency and XP, shop, play minigames, and save on exit. The graph separates game entry and persistence, pet gameplay, economy/progression, and shared domain types. Some source is unsampled; edges are limited to relationships visible in excerpts or the source index.

Main entry points: [`Tamapocho/Program.cs`](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Program.cs) (Game entry), [`Tamapocho/TamapochoHippie.cs`](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/TamapochoHippie.cs) (Hippie pet), [`Tamapocho/Tamapochocunyao.cs`](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Tamapochocunyao.cs) (Cunyao pet), [`Tamapocho/Tamapochotiktok.cs`](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Tamapochotiktok.cs) (TikTok pet)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Entry and saves"]
  node_entrypoint["Game entry<br/>[Program.cs]"]
  node_save_data["Save data<br/>[DatosPartida.cs]"]
  node_save_exit["Save on exit<br/>[Salir.cs]"]
  node_save_file["partida.json"]
end

subgraph group_gameplay["Pet gameplay"]
  node_hippie_pet["Hippie pet<br/>[TamapochoHippie.cs]"]
  node_gym_pet["Gym pet<br/>[TamapochoGym.cs]"]
  node_infor_pet["Informatics pet<br/>[TamapochoInfor.cs]"]
  node_cunyao_pet["Cunyao pet<br/>[Tamapochocunyao.cs]"]
  node_tiktok_pet["TikTok pet<br/>[Tamapochotiktok.cs]"]
end

subgraph group_economy["Economy and progression"]
  node_store["Item shop<br/>[Tienda.cs]"]
  node_minigames["Minigames<br/>[Minijuego.cs]"]
end

subgraph group_domain["Shared domain"]
  node_player["Player<br/>[Jugador.cs]"]
  node_base_pet["Base Tamapocho<br/>[Tamapocho.cs]"]
  node_hippie_contract["Hippie interface<br/>[ITamHippie.cs]"]
  node_gym_contract["Gym interface<br/>[ITamapochoGym.cs]"]
  node_infor_contract["Informatics interface<br/>[ItamInfor.cs]"]
  node_cunyao_contract["Cunyao interface<br/>[Itamcunyao.cs]"]
  node_tiktok_contract["TikTok interface<br/>[ITamapochotk.cs]"]
  node_item["Shop item<br/>[Item.cs]"]
  node_effect_type["Effect types<br/>[TipoEfecto.cs]"]
end

node_entrypoint -->|"creates"| node_player
node_entrypoint -->|"loads"| node_save_data
node_entrypoint -->|"reads"| node_save_file
node_entrypoint -->|"starts"| node_hippie_pet
node_entrypoint -->|"starts"| node_gym_pet
node_entrypoint -->|"starts"| node_infor_pet
node_entrypoint -->|"starts"| node_cunyao_pet
node_entrypoint -->|"starts"| node_tiktok_pet
node_hippie_pet -->|"inherits"| node_base_pet
node_cunyao_pet -->|"inherits"| node_base_pet
node_tiktok_pet -->|"inherits"| node_base_pet
node_hippie_pet -->|"implements"| node_hippie_contract
node_cunyao_pet -->|"implements"| node_cunyao_contract
node_tiktok_pet -->|"implements"| node_tiktok_contract
node_hippie_pet -->|"opens"| node_store
node_hippie_pet -->|"starts"| node_minigames
node_hippie_pet -->|"saves through"| node_save_exit
node_cunyao_pet -->|"opens"| node_store
node_cunyao_pet -->|"starts"| node_minigames
node_cunyao_pet -->|"saves through"| node_save_exit
node_tiktok_pet -->|"opens"| node_store
node_tiktok_pet -->|"starts"| node_minigames
node_tiktok_pet -->|"saves through"| node_save_exit
node_store -->|"creates and applies"| node_item
node_store -->|"dispatches effects"| node_effect_type
node_store -->|"charges and adds items"| node_player
node_player -->|"holds"| node_item
node_item -->|"uses"| node_effect_type
node_save_exit -->|"serializes"| node_save_data
node_save_exit -->|"writes"| node_save_file

click node_player "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Jugador.cs"
click node_entrypoint "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Program.cs"
click node_save_data "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/DatosPartida.cs"
click node_save_exit "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Salir.cs"
click node_base_pet "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Tamapocho.cs"
click node_hippie_pet "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/TamapochoHippie.cs"
click node_gym_pet "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/TamapochoGym.cs"
click node_infor_pet "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/TamapochoInfor.cs"
click node_cunyao_pet "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Tamapochocunyao.cs"
click node_tiktok_pet "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Tamapochotiktok.cs"
click node_hippie_contract "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/ITamHippie.cs"
click node_gym_contract "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/ITamapochoGym.cs"
click node_infor_contract "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/ItamInfor.cs"
click node_cunyao_contract "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Itamcunyao.cs"
click node_tiktok_contract "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/ITamapochotk.cs"
click node_store "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Tienda.cs"
click node_item "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Item.cs"
click node_effect_type "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/TipoEfecto.cs"
click node_minigames "https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Minijuego.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_entrypoint,node_save_data,node_save_exit,node_save_file toneBlue
class node_hippie_pet,node_gym_pet,node_infor_pet,node_cunyao_pet,node_tiktok_pet toneAmber
class node_store,node_minigames toneMint
class node_player,node_base_pet,node_hippie_contract,node_gym_contract,node_infor_contract,node_cunyao_contract,node_tiktok_contract,node_item,node_effect_type toneRose
```

## Components

### Entry and saves

- [Game entry](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Program.cs): `Tamapocho/Program.cs`
- [Save data](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/DatosPartida.cs): `Tamapocho/DatosPartida.cs`
- [Save on exit](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Salir.cs): `Tamapocho/Salir.cs`
- **partida.json**

### Pet gameplay

- [Hippie pet](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/TamapochoHippie.cs): `Tamapocho/TamapochoHippie.cs`
- [Gym pet](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/TamapochoGym.cs): `Tamapocho/TamapochoGym.cs`
- [Informatics pet](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/TamapochoInfor.cs): `Tamapocho/TamapochoInfor.cs`
- [Cunyao pet](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Tamapochocunyao.cs): `Tamapocho/Tamapochocunyao.cs`
- [TikTok pet](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Tamapochotiktok.cs): `Tamapocho/Tamapochotiktok.cs`

### Economy and progression

- [Item shop](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Tienda.cs): `Tamapocho/Tienda.cs`
- [Minigames](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Minijuego.cs): `Tamapocho/Minijuego.cs`

### Shared domain

- [Player](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Jugador.cs): `Tamapocho/Jugador.cs`
- [Base Tamapocho](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Tamapocho.cs): `Tamapocho/Tamapocho.cs`
- [Hippie interface](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/ITamHippie.cs): `Tamapocho/ITamHippie.cs`
- [Gym interface](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/ITamapochoGym.cs): `Tamapocho/ITamapochoGym.cs`
- [Informatics interface](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/ItamInfor.cs): `Tamapocho/ItamInfor.cs`
- [Cunyao interface](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Itamcunyao.cs): `Tamapocho/Itamcunyao.cs`
- [TikTok interface](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/ITamapochotk.cs): `Tamapocho/ITamapochotk.cs`
- [Shop item](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/Item.cs): `Tamapocho/Item.cs`
- [Effect types](https://github.com/adrianmartinezcorrea81-hash/tamapocho/blob/master/Tamapocho/TipoEfecto.cs): `Tamapocho/TipoEfecto.cs`

## Connections

- Game entry → Player: creates (evidence: `Tamapocho/Program.cs`)
- Game entry → Save data: loads (evidence: `Tamapocho/Program.cs`)
- Game entry → partida.json: reads (evidence: `Tamapocho/Program.cs`)
- Game entry → Hippie pet: starts (evidence: `Tamapocho/Program.cs`)
- Game entry → Gym pet: starts (evidence: `Tamapocho/Program.cs`)
- Game entry → Informatics pet: starts (evidence: `Tamapocho/Program.cs`)
- Game entry → Cunyao pet: starts (evidence: `Tamapocho/Program.cs`)
- Game entry → TikTok pet: starts (evidence: `Tamapocho/Program.cs`)
- Hippie pet → Base Tamapocho: inherits (evidence: `Tamapocho/TamapochoHippie.cs`)
- Cunyao pet → Base Tamapocho: inherits (evidence: `Tamapocho/Tamapochocunyao.cs`)
- TikTok pet → Base Tamapocho: inherits (evidence: `Tamapocho/Tamapochotiktok.cs`)
- Hippie pet → Hippie interface: implements (evidence: `Tamapocho/TamapochoHippie.cs`)
- Cunyao pet → Cunyao interface: implements (evidence: `Tamapocho/Tamapochocunyao.cs`)
- TikTok pet → TikTok interface: implements (evidence: `Tamapocho/Tamapochotiktok.cs`)
- Hippie pet → Item shop: opens (evidence: `Tamapocho/TamapochoHippie.cs`)
- Hippie pet → Minigames: starts (evidence: `Tamapocho/TamapochoHippie.cs`)
- Hippie pet → Save on exit: saves through (evidence: `Tamapocho/TamapochoHippie.cs`)
- Cunyao pet → Item shop: opens (evidence: `Tamapocho/Tamapochocunyao.cs`)
- Cunyao pet → Minigames: starts (evidence: `Tamapocho/Tamapochocunyao.cs`)
- Cunyao pet → Save on exit: saves through (evidence: `Tamapocho/Tamapochocunyao.cs`)
- TikTok pet → Item shop: opens (evidence: `Tamapocho/Tamapochotiktok.cs`)
- TikTok pet → Minigames: starts (evidence: `Tamapocho/Tamapochotiktok.cs`)
- TikTok pet → Save on exit: saves through (evidence: `Tamapocho/Tamapochotiktok.cs`)
- Item shop → Shop item: creates and applies (evidence: `Tamapocho/Tienda.cs`)
- Item shop → Effect types: dispatches effects (evidence: `Tamapocho/Tienda.cs`)
- Item shop → Player: charges and adds items (evidence: `Tamapocho/Tienda.cs`)
- Player → Shop item: holds (evidence: `Tamapocho/Jugador.cs`)
- Shop item → Effect types: uses (evidence: `Tamapocho/Item.cs`)
- Save on exit → Save data: serializes (evidence: `Tamapocho/Salir.cs`)
- Save on exit → partida.json: writes (evidence: `Tamapocho/Salir.cs`)
