Abstract— This research proposes a novel approach to create a foundation for dynamic difficulty adjustment (DDA) within computer games that use procedural content generation (PCG), utilizing imitation learning to optimize gameplay. When PCG is used in creating the levels and enemies within a game, the difficulty adjustment must be ensured so that the game is not too hard or too easy for each player. However, PCG is random by nature, and thus, the developers may have a challenging task of adjusting the difficulty for each player in such games. The study aims to address these limitations by developing a foundation for DDA models based on imitation learning. The proposed model incorporates an imitation learning component, referred to as the 'Clone,' which replicates the player’s behavior, alongside an enemy creator agent that leverages procedural content generation (PCG) to design enemies. By analyzing the Clone's performance against these procedurally generated enemies, the system ensures the creation of fair and engaging levels. To this end, a 2D platformer Unity game using PCG was developed, and imitation learning was utilized through Unity's ML-agents module. These models were used to mimic the players' play-style to predict the player's performance in PCG-generated levels. Three separate models were created to mimic five players. It was observed that two of these models could mimic players' performance, showing that this method can be used to implement DDA.
Siamakmanesh,N , Ganji,A , Abdoos,M and Vahidi-Asl,M . (2025). Creating a Foundation for Dynamic Difficulty Adjustment within PCG of games using Imitation Learning. Journal of Innovations in Computer Science and Engineering (JICSE), 2(Special Issue on AI 4 All- 2), 49-55. doi: 10.48308/jicse.2025.239782.1071
MLA
Siamakmanesh,N , , Ganji,A , , Abdoos,M , and Vahidi-Asl,M . "Creating a Foundation for Dynamic Difficulty Adjustment within PCG of games using Imitation Learning", Journal of Innovations in Computer Science and Engineering (JICSE), 2, Special Issue on AI 4 All- 2, 2025, 49-55. doi: 10.48308/jicse.2025.239782.1071
HARVARD
Siamakmanesh N, Ganji A, Abdoos M, Vahidi-Asl M. (2025). 'Creating a Foundation for Dynamic Difficulty Adjustment within PCG of games using Imitation Learning', Journal of Innovations in Computer Science and Engineering (JICSE), 2(Special Issue on AI 4 All- 2), pp. 49-55. doi: 10.48308/jicse.2025.239782.1071
CHICAGO
N Siamakmanesh, A Ganji, M Abdoos and M Vahidi-Asl, "Creating a Foundation for Dynamic Difficulty Adjustment within PCG of games using Imitation Learning," Journal of Innovations in Computer Science and Engineering (JICSE), 2 Special Issue on AI 4 All- 2 (2025): 49-55, doi: 10.48308/jicse.2025.239782.1071
VANCOUVER
Siamakmanesh N, Ganji A, Abdoos M, Vahidi-Asl M. Creating a Foundation for Dynamic Difficulty Adjustment within PCG of games using Imitation Learning. JICSE. 2025;2(Special Issue on AI 4 All- 2):49-55. doi: 10.48308/jicse.2025.239782.1071