How salgado-dev/tcc works
The repository contains two standalone Pygame Pokémon games: a compact map-and-battle prototype and a larger safari exploration game. The main player workflow is to move through the world, encounter or find Pokémon, interact with game systems, and see the game state rendered on screen. The larger game also includes islands, progression, inventory, a shop, a Pokédex, and save/load behavior. The README provides no capability details; the larger game's excerpts are partial, so some feature links are omitted where callers were not shown.
Main entry points: tccgpt.py Safari Engine · tcc.py Player · savegame_tcc_v4.json Save File
Components 18
Map Battle Prototype
- Player
tcc.py - Map Encounters
tcc.py - Battle
tcc.py - Game Display
tcc.py
Safari Game
- Player State
tccgpt.py - Wild Pokémon
tccgpt.py - Safari Engine
tccgpt.py - World Exploration
tccgpt.py - 3D Camera
tccgpt.py - Island Selection
tccgpt.py - Player Progression
tccgpt.py - Inventory
tccgpt.py - Shop
tccgpt.py - Pokédex
tccgpt.py - Save File
savegame_tcc_v4.json - Visual Effects
tccgpt.py - Game Display
tccgpt.py
Other components
- Player
Connections 21
- Player → Map Encounters: moves through
tcc.py - Map Encounters → Battle: starts encounter
tcc.py - Player → Battle: attacks or flees
tcc.py - Battle → Game Display: renders state
tcc.py - Player → Game Display: renders position
tcc.py - Player → Safari Engine: uses controls
tccgpt.py - Safari Engine → Player State: creates
tccgpt.py - Safari Engine → 3D Camera: creates
tccgpt.py - Safari Engine → World Exploration: updates
tccgpt.py - World Exploration → Player State: moves
tccgpt.py - World Exploration → 3D Camera: updates
tccgpt.py - World Exploration → Wild Pokémon: updates
tccgpt.py - Safari Engine → Save File: loads state
tccgpt.py - Safari Engine → Save File: saves state
- Safari Engine → Island Selection: renders menu
tccgpt.py - Safari Engine → Shop: handles purchases
tccgpt.py - Safari Engine → Player Progression: tracks progress
tccgpt.py - Safari Engine → Inventory: manages items
tccgpt.py - Safari Engine → Pokédex: tracks discoveries
tccgpt.py - Safari Engine → Visual Effects: uses effects
tccgpt.py - Safari Engine → Game Display: renders game
tccgpt.py