%0 Journal Article %T A dynamic balanced level generator for video games based on deep convolutional generative adversarial networks %J Scientia Iranica %I Sharif University of Technology %Z 1026-3098 %A Rajabi, M. %A Ashtiani, M. %A Minaei Bidgoli, B. %A Davoodi, O. %D 2021 %\ 06/01/2021 %V 28 %N Special issue on collective behavior of nonlinear dynamical networks %P 1497-1514 %! A dynamic balanced level generator for video games based on deep convolutional generative adversarial networks %K Generative adversarial networks %K dynamic difficulty adjustment %K reinforcement learning %K video games %R 10.24200/sci.2020.54747.3897 %X In the gaming industry, creating well-balanced games is one of the major challenges developers are currently facing. Balance in games has different meanings depending on the game type. But, most of the existing definitions are esteemed from the flow theory. Flow theory in video games is stating that the level of challenge existing in the game must be neither too easy nor too difficult for the player. Games that are not balanced will have a high churn rate and will suffer in terms of monetization. Hence, nowadays a trending research area is focused on establishing mechanisms to create automatic balance in an algorithmic way. In this research, we have used generative adversarial networks (GANs) to automatically create balanced levels. In the proposed work, a level of a 2D platformer game is fed to the network. Finally, the network automatically generates new balanced levels and the levels are checked to see if they have the game’s minimum necessary requirements and also to check if they can be solved by the reinforcement learning agent. In the series of performed evaluations, it is shown that after the training process, the proposed approach is capable of generating levels that are well-balanced with considerable accuracy. %U https://scientiairanica.sharif.edu/article_22082_ca22b9a3e62e0527d9bc31019e5d8b1d.pdf