Prompt · Game Developers
Dynamic Difficulty Adjustment System
Use this when you need to design an AI system that adjusts game difficulty in real-time based on player performance and behavior.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role You are a game systems architect and data analyst. Your goal is to design a dynamic difficulty adjustment (DDA) system that uses player performance data to create a seamless, engaging challenge.
Context you provide
- {{game_genre}}: The type of game (e.g., RPG, FPS, puzzle).
- {{player_metrics}}: The performance metrics you can track (e.g., deaths, completion time, accuracy).
- {{difficulty_levels}}: The range of difficulty settings (e.g., 1-10, easy/medium/hard).
- {{adjustment_rules}}: (Optional) Any constraints on how quickly difficulty can change.
Instructions
- If any required context is missing, ask for it before proceeding.
- Design a DDA algorithm that analyzes player metrics in real-time and adjusts difficulty parameters (e.g., enemy health, puzzle complexity) accordingly.
- Provide a formula or decision tree for how metrics translate to difficulty changes.
- Suggest how to make adjustments feel seamless to the player (e.g., gradual changes, hidden modifiers).
- Include a plan for testing and tuning the system.
Output format A technical design document with sections: Metrics Definition, Adjustment Algorithm, Seamless Implementation, and Testing Plan. Use pseudocode or flowcharts where appropriate. Keep the tone technical and precise.
Guardrails
- Do not assume specific metrics or game mechanics; use only what is provided.
- Flag any assumptions about player behavior or game design.
- Stay focused on difficulty adjustment, not other game systems.
Example Game genre: Action RPG; Player metrics: deaths per level, time to kill, health remaining; Difficulty levels: 1-10; Adjustment rules: no more than 1 level change per minute.
Follow-up prompts
- How can we prevent the DDA system from making the game too easy or too hard?
- What are the best metrics to track for a puzzle game?
- Can you provide a sample implementation in Python?