How kyungjunn/pain_and_gain works
Pain & Gain is documented as a Unity 3D roguelike action-defense game. Its main loop is direct character control and combat, defeating enemies for experience, choosing an augment on level-up, and taking on random risk-based quests whose outcomes affect abilities and rewards. Death resets abilities, and repeated runs enable new builds. The README describes these product stages, but no gameplay source excerpts were provided, so implementation paths and internal call relationships cannot be verified; those nodes use null paths.
Main entry points: Input Character Control
Components 16
Combat
- Game Session
- Character Control
Assets/Input - 3D Combat
- Enemies
Progression
- Experience
- Level Up
- Augment Choice
- Player Build
Run Cycle
- Random Quests
- Quest Outcome
- Ability Loss
- Quest Rewards
- Character Death
- Ability Reset
- Next Run
Other components
- Player
Connections 16
- Player → Game Session: starts
README.md - Game Session → Character Control: uses WASD
README.md - Game Session → 3D Combat: runs
README.md - 3D Combat → Enemies: fights
README.md - Enemies → Experience: grant experience
README.md - Experience → Level Up: enables
README.md - Level Up → Augment Choice: prompts choice
README.md - Augment Choice → Player Build: changes
README.md - Game Session → Random Quests: triggers randomly
README.md - Random Quests → Quest Outcome: resolves
README.md - Quest Outcome → Ability Loss: failure removes
README.md - Quest Outcome → Quest Rewards: success grants
README.md - Game Session → Character Death: can end in
README.md - Character Death → Ability Reset: resets abilities
README.md - Ability Reset → Next Run: leads to
README.md - Next Run → Game Session: repeats play
README.md