How gotenten/project_p works
POUKEMON is a terminal team-battling game. Players choose a PvP or computer-opponent mode, build teams, then take turns attacking, switching, and resolving effects until a team is defeated; the game displays the outcome. The graph also preserves the model, skill, passive, status, and AI subsystems. Several modules were not excerpted, so uncertain internal links are omitted rather than inferred.
Main entry points: main.py Game coordinator · battle.py Battle turns · team_creation.py Team creation · skills.py Skill behavior
Components 20
Game entry
- Start screen
ui/start_screen.py - Game coordinator
core/main.py - Team creation
systems/team_creation.py
Battle runtime
- Battle turns
core/battle.py - Team state
core/team.py - Yoda AI
core/ai_function_maitre_yoda.py - AI functions
core/ai_function.py - Temporary AI
core/temp_ai.py
Game domain
- Pou combatant
core/pou.py - Skill behavior
core/skills.py - Passive behavior
core/passive.py - Passive effects
core/passive_effects.py
Game content
- Skill catalog
data/skills_list.py - Pou models
data/pou_list.py - Passive catalog
data/passive_list.py - Status catalog
data/status_list.py - Element chart
data/elem_list.py
Terminal interface
- Battle display
ui/display.py - Terminal colors
ui/colors.py
Other components
- Player
Connections 25
- Player → Start screen: starts game
README.md - Start screen → Game coordinator: starts
ui/start_screen.py - Game coordinator → Team creation: creates teams
core/main.py - Game coordinator → Battle turns: runs turns
core/main.py - Game coordinator → Team state: checks team state
core/main.py - Game coordinator → Battle display: requests displays
core/main.py - Game coordinator → Yoda AI: creates controller
core/main.py - Team creation → Pou combatant: builds combatants
systems/team_creation.py - Team creation → Pou models: loads models
systems/team_creation.py - Team creation → Team state: assembles team
systems/team_creation.py - Team creation → Battle display: requests prompts
systems/team_creation.py - Battle turns → Battle display: renders actions
core/battle.py - Battle turns → Yoda AI: requests action
core/battle.py - Battle turns → Team state: switches combatants
core/battle.py - Battle turns → Pou combatant: checks passives
core/battle.py - Battle turns → Skill behavior: applies selected skill
core/battle.py - Skill catalog → Skill behavior: instantiates skills
data/skills_list.py - Pou models → Skill catalog: selects skills
data/pou_list.py - Pou models → Passive catalog: selects passives
data/pou_list.py - Passive catalog → Passive behavior: instantiates passives
data/passive_list.py - Skill behavior → Status catalog: loads status data
core/skills.py - Skill behavior → Pou combatant: applies effects
core/skills.py - Pou combatant → Element chart: checks effectiveness
core/pou.py - Battle display → Terminal colors: formats output
ui/display.py - Player → Team creation: chooses team
README.md