Introduction
Procedural Content Generation (PCG) in modern gaming is predominantly "experience-driven," aimed at maintaining a player's "flow state" by balancing challenge with current skill. While effective for entertainment, this approach often fails players seeking explicit skill mastery. True learning frequently requires pushing through frustration and tackling challenges that exceed one's immediate comfort zone.
ProcDefense is an open-source game framework designed to address this gap. It provides a standardized platform for researchers to develop AI agents that dynamically adjust game parameters not just for engagement, but to explicitly train and accelerate player mastery through pedagogical difficulty adjustment.
The ProcDefense Environment
ProcDefense is an action-oriented defense game where the player controls an arc-shaped paddle rotating around a central core. The primary objective is to deflect incoming projectiles. To move beyond simple "twitch" reflexes, the game incorporates a "shattering" mechanic. Projectiles possess "durability," requiring multiple hits to destroy. However, a well-timed "shatter" can instantly destroy a projectile and spawn shards that clear other threats, introducing a layer of strategic decision-making.
System Architecture and Control
Unlike commercial games, ProcDefense is built with a modular interface designed for external "difficulty adjusting subsystems." The framework facilitates two-way communication:
- State Reporting: The game provides real-time telemetry on projectile positions, velocities, durability, paddle status, and overall level progress.
- Parameter Manipulation: External AI agents can manipulate nine specific variables in real-time to create targeted training scenarios.
Design Philosophy: Training vs. Experience
A key insight of the ProcDefense project is the distinction between PCG for fun and PCG for training. Effective training may require inducing higher levels of anxiety or frustration than a commercial game would typically permit.
Furthermore, the authors intentionally avoided established genres like platformers (the "Mario Problem") to eliminate "genre bias." By utilizing a novel, simple domain, researchers can more accurately track a player's progression from a true novice state to mastery, ensuring that performance data reflects learning within the framework rather than prior experience.
Conclusion and Future Directions
ProcDefense serves as a robust system description for a new class of research tools. By providing granular control over difficulty parameters, it allows for the isolation and training of specific player weaknesses.
Future research will focus on developing the AI "trainers" themselves. Key areas of exploration include using machine learning to identify failure-inducing game states, modeling player psychology to optimize the "difficulty-to-persistence" ratio, and investigating whether skills learned in isolation within ProcDefense translate effectively to more complex gaming environments.
Summary updated