Genre, Bias, and Narrative Logic in AI Dungeon: Generative AI as a Game-Based Storytelling Engine

Main Article Content

Cátia Ferreira

Objectives. This article investigates how generative artificial intelligence (AI) systems, as implemented in the digital game AI Dungeon, negotiate genre conventions and algorithmic bias within interactive, player-driven storytelling. By focusing on AI Dungeon as both a game and a narrative engine, the study aims to reveal how generative AI shapes narrative logic, aesthetic adaptation, and cultural representation in digital game environments.
Methodology. The research draws on a systematically coded dataset of AI Dungeon play sessions across multiple genres. Integrating theoretical perspectives from game studies, narratology, and algorithmic bias research, the study employs a mixed-methods approach. Quantitative coding captures genre, bias, narrative drift, and player intervention, while qualitative thematic analysis explores aesthetic adaptation and the negotiation of meaning between player and AI.
Findings. Results demonstrate that genre conventions in digital games serve as both scaffolds and filters for AI-generated storytelling. While genre prompts can guide the AI toward coherent and engaging narratives, they also interact with and sometimes amplify underlying algorithmic biases. Instances of stereotype reinforcement, narrative drift, and the need for player intervention are shaped by both genre and the ludic structure of the game.
Value. By empirically mapping the interplay between genre, bias, and interactive narrative logic in a digital game context, this study advances understanding of generative AI’s creative and ethical challenges in contemporary storytelling. The findings offer actionable insights for both game designers and AI narrative system developers.

Keywords
Ethical Challenges, Player Intervention, Storytelling Engine, Genre Conventions, Algorithmic Bias, Narrative Logic, Digital Games, Generative AI

Article Details

How to Cite
Ferreira, Cátia. “Genre, Bias, and Narrative Logic in AI Dungeon: Generative AI as a Game-Based Storytelling Engine”. Hipertext.net, 2025, no. 31, pp. 77-89, doi:10.31009/hipertext.net.2025.i31.08.
Author Biography

Cátia Ferreira, Universidade Católica Portuguesa

Cátia Ferreira holds a PhD in Communication Studies from Universidade Católica Portuguesa. Currently, she is Assistant Professor at the Faculty of Human Sciences, at Universidade Católica Portuguesa. She is a main researcher at CECC (Research Centre for Communication and Culture) and collaborating researcher at CETAPS (Centre for English, Translation, and Anglo-Portuguese Studies). Her research and teaching areas focus on media studies, in particular digital media: digital games, audiovisual and multimedia communication, and emerging strategies for content production, such as transmedia and cross-media.

References

Aarseth, E., Smedstad, S. M. & Sunnanå, L. K. (2003). A multidimensional typology of games. In M. Copier & J. Raessens (Eds.), Level Up: Digital Games Research Conference Proceedings (pp. 48–53). Utrecht University. https://doi.org/10.26503/dl.v2003i1.66

Anantrasirichai, N. & Bull, D. (2022). Artificial intelligence in the creative industries: A review. Artificial Intelligence Review, 55, 589–656. https://doi.org/10.1007/s10462-021-10039-7

Apperley, T. H. (2006). Genre and game studies: Toward a critical approach to video game genres. Simulation & Gaming, 37(1), 6-23. https://doi.org/10.1177/1046878105282278

Arsenault, D. (2009). Video game genre, evolution and innovation. Eludamos. Journal for Computer Game Culture, 3(2), 149–176. https://doi.org/10.7557/23.6003

Banh, L. & Strobel, G. (2023). Generative artificial intelligence. Electronic Markets, 33(63). https://doi.org/10.1007/s12525-023-00680-1

Bostan, B. (Ed.). (2022). Games and narrative: Theory and practice. Springer. https://doi.org/10.1007/978-3-030-81538-7

Buscemi, A., Proverbio, D., Di Stefano, A., Han, T. A., Castignani, G. & Liò, P. (2025). FAIRGAME: A framework for AI agents bias recognition using game theory. arXiv. https://arxiv.org/abs/2504.14325v2

Callison-Burch, C., Tomar, G. S., Martin, L. J., Ippolito, D., Bailis, S. & Reitter, D. (2022). Dungeons and Dragons as a dialog challenge for artificial intelligence. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing (pp. 9379–9393). Association for Computational Linguistics. https://aclanthology.org/2022.emnlp-main.637/

Carstensdottir, E., Kleinman, E., Williams, R. & Seif El-Nasr, M. S. (2021). “Naked and on fire”: Examining player agency experiences in narrative-focused gameplay. In Proceedings of the 2021 CHI Conference on Human Factors in Computing Systems (Article 121, pp. 1–13). Association for Computing Machinery. https://doi.org/10.1145/3411764.3445540

Casvean, T.-M. (2016). An Introduction to Videogame Genre Theory. Understanding Videogame Genre Framework. Athens Journal of Mass Media and Communications, 2(1), 57–68. https://doi.org/10.30958/ajmmc.2.1.5

Compton, K. E. & Mateas, M. (2015). Casual creators. In Proceedings of the Sixth International Conference on Computational Creativity (pp. 228–235). University of California, Santa Cruz. https://computationalcreativity.net/iccc2015/proceedings/10_2Compton.pdf

Egenfeldt-Nielsen, S., Smith, J. H. & Tosca, S. P. (2015). Understanding video games: The essential introduction. Routledge.

European Union Agency for Fundamental Rights. (2022). Bias in algorithms – Artificial intelligence and discrimination. https://fra.europa.eu/en/publication/2022/bias-algorithm

Ferrer, X., van Nuenen, T., Such, J. M., Coté, M. & Criado, N. (2021). Bias and discrimination in AI: A cross-disciplinary perspective. IEEE Technology and Society Magazine, 40(2), 72–80. https://doi.org/10.1109/MTS.2021.3056293

Hermann, I. (2023). Artificial intelligence in fiction: between narratives and metaphors. AI & Society, 38, 319–329 . https://doi.org/10.1007/s00146-021-01299-6

Hua, M. & Raley, R. (2020). Playing with unicorns: AI Dungeon and citizen NLP. Digital Humanities Quarterly, 14(4). https://dhq-static.digitalhumanities.org/pdf/000533.pdf

Jagoda, P. (2018). Digital Games and Narrative. In M. Garrett (Ed.), The Cambridge Companion to Narrative Theory (pp. 231–247). Cambridge University Press. https://doi.org/10.1017/9781108639149.017

Järvinen, A. (2002). Gran Stylissimo: The audiovisual elements and styles in computer and video games. In F. Mäyrä (Ed.), Computer Games and Digital Cultures Conference Proceedings (pp. 113–128). Tampere University Press. https://doi.org/10.26503/dl.v2002i1.19

Järvinen, A. (2007). Games without frontiers: Theories and methods for game studies and design. [Doctoral dissertation, University of Tampere]. https://ocw.metu.edu.tr/pluginfile.php/4468/mod_resource/content/0/ceit706/week3_new/AkiJarvinen_Dissertation.pdf

Jenkins, H. (2004). Game design as narrative architecture. In N. Wardrip-Fruin & P. Harrigan (Eds.), First person: New media as story, performance, and game (pp. 118–130). MIT Press.

Kabashkin, I., Zervina, O. & Misnevs, B. (2025). AI Narrative Modeling: How Machines’ Intelligence Reproduces Archetypal Storytelling. Information, 16(4), 319. https://doi.org/10.3390/info16040319

Koenitz, H., Ferri, G., Haahr, M., Sezen, D. & Sezen, T.İ. (Eds.). (2015). Interactive Digital Narrative: History, Theory and Practice. Routledge. https://doi.org/10.4324/9781315769189

Koenitz, H. (2018). Narrative in Video Games. In N. Lee (Ed.), Encyclopedia of Computer Graphics and Games. Springer. https://doi.org/10.1007/978-3-319-08234-9_154-1

Kotek, H., Dockum, R. & Sun, D. Q. (2023). Gender bias and stereotypes in large language models. In Proceedings of the ACM Collective Intelligence Conference (CI ‘23) (pp. 12–24). Association for Computing Machinery. https://doi.org/10.1145/3582269.3615599

Kress, G. (2009). Multimodality: A social semiotic approach to contemporary communication. Routledge.

Küçükuncular, A. (2025). Rethinking AI’s “liberation” fantasy: Free us? Or chain us further? AI & Society. https://doi.org/10.1007/s00146-025-02344-4

Li, M. (2022). Researching and Teaching Second Language Writing in the Digital Age. Springer. https://doi.org/10.1007/978-3-030-87710-1_5

Mittell, J. (2001). A cultural approach to television genre theory. Cinema Journal, 40(3), 3–24. https://muse.jhu.edu/article/7508#:~:text=10.1353/cj.2001.0009

Murray, J. H. (2006). Toward a Cultural Theory of Gaming: Digital Games and the Co-Evolution of Media, Mind, and Culture. Popular Communication, 4(3), 185–202. https://doi.org/10.1207/s15405710pc0403_3

Murray, J. H. (2017). Hamlet on the Holodeck: The Future of Narrative in Cyberspace (updated edition). MIT Press.

Neale, S. (1999). Genre and Hollywood. Routledge.

O’Connor, S. & Liu, H. (2024). Gender bias perpetuation and mitigation in AI technologies: Challenges and opportunities. AI & Society, 39, 2045–2057. https://doi.org/10.1007/s00146-023-01675-4

Riedl, M. O. & Bulitko, V. (2012). Interactive Narrative: An Intelligent Systems Approach. AI Magazine, 34(1), 67. https://doi.org/10.1609/aimag.v34i1.2449

Ryan, M.-L. (2001). Narrative as virtual reality: Immersion and interactivity in literature and electronic media. Johns Hopkins University Press.

Seiwald, R. (2023). Beyond the Game Itself: Understanding Authorial Intent, Player Agency, and Materiality as Degrees of Paratextuality. Games and Culture, 18(6), 718-739. https://doi.org/10.1177/15554120231181193

Sharma, R. R. (2025). AI-generated video games and interactive experiences. International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering, 14(2). https://www.ijareeie.com/upload/2025/february/20_AI.pdf

Short, E. (2019). Creating tools for procedural storytelling. In T. X. Short & T. Adams (Eds.), Procedural storytelling in game design (pp. 197–212). CRC Press.

Sjöström, J. & Goldkuhl, G. (2004). The semiotics of user interfaces. In K. Liu (Ed.), Virtual, distributed and flexible organisations (pp. 217–236). Springer. https://doi.org/10.1007/1-4020-2162-3_14

Trammell, A. & Cullen, A. L. (2020). A cultural approach to algorithmic bias in games. New Media & Society, 23(1), 159-174. https://doi.org/10.1177/1461444819900508

Voorhees, G. (2019). Genre troubles in game studies: Ludology, agonism, and social action. Kinephanos - Special Issue The Rise(s) and Fall(s) of Video Game Genres, 16-39. https://www.kinephanos.ca/2019/genre-troubles-in-game-studies-ludology-agonism-and-social-action/

Wolf, M. J. P. (2001). The medium of the video game. University of Texas Press.

Zhou, M., Abhishek, V., Derdenger, T., Kim, J. & Srinivasan, K. (2024). Bias in generative AI. arXiv. https://arxiv.org/abs/2403.02726