Skip to main content

Bringing Stories to Life in 1001 Nights: A Co-creative Text Adventure Game Using a Story Generation Model

  • Conference paper
  • First Online:
Interactive Storytelling (ICIDS 2022)

Abstract

How can the stories we tell be turned from abstractions in our own minds into concrete elements in a digital environment that we can interact with? To immerse everyday storytelling into digital interactions, we created a game that turns entities in a story into digital assets that have functional roles. Taking the classic folklore as inspiration, we created 1001 Nights, a co-creative, mixed-initiative storytelling game using an existing AI creative writing system. In this game, Shahrzad (driven by the player) tells stories through a dialogue interface, while the King (driven by the AI model) continues the player’s story in turn. Text from the story is used in the game mechanics, so that if the player enters keywords such as ‘sword’ and ‘shield’, they are turned into equipment that can be used in battles. Players who are more engaged with the game, measured by the length of their inputs, are rewarded with better achievements. The game aims to facilitate player engagement and creativity through natural language interactions in an empowering setting. This paper presents the game design, a breakdown of the development process and an analysis of user data, including instrumented gameplay data from 2055 players and comments from 422 players. The player feedback indicates that they enjoyed the creative interactions, the game mechanics and the narratives they constructed.

X. Ni—Unaffiliated

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    The game is available for download at: https://cheesetalk.itch.io/one-thousand-and-one-night.

References

  1. Swanson, R., Gordon, A.S.: Say anything: a massively collaborative open domain story writing companion. In: Spierling, U., Szilas, N. (eds.) ICIDS 2008. LNCS, vol. 5334, pp. 32–40. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-89454-4_5

    Chapter  Google Scholar 

  2. ColorfulClouds Tech, Dreamily.ai. https://dreamily.ai/. Accessed 16 Oct 2022

  3. Coenen, A., et al.: Wordcraft: a human-AI collaborative editor for story writing. arXiv:2107.07430 (2021)

  4. Yanardag, P., Cebrian, M., Rahwan, I.: Shelley: a crowd-sourced collaborative horror writer. Creat. Cogn. (2021). https://doi.org/10.1145/3450741.3465251

    Article  Google Scholar 

  5. Barros, G.A.B., Liapis, A., Togelius, J.: Murder mystery generation from open data. In: L-Università ta’ Malta (2016). https://www.um.edu.mt/library/oar/handle/123456789/47474

  6. LC RAY, Mizuno, D.: Designing for narrative influence: Extended Abstracts of the 2021 CHI Conference on Human Factors in Computing Systems (2021). https://doi.org/10.1145/3411763.3450373

  7. Pichlmair, M., Putney, C.: Procedural generation for divination and inspiration. Int. Conf. Found. Digit. Games (2020). https://doi.org/10.1145/3402942.3402950

    Article  Google Scholar 

  8. Aljammaz, R., Oliver, E., Whitehead, J., Mateas, M.: Scheherazade’s Tavern: a prototype for deeper NPC interactions. Int. Conf. Found. Digit. Games (2020). https://doi.org/10.1145/3402942.3402984

    Article  Google Scholar 

  9. McCoy, J., et al.: Prom week: designing past the game/story dilemma. In: Foundation of Digital Games (FDG) (2013)

    Google Scholar 

  10. Jackson, D., Latham, A.: Talk to the ghost: The Storybox methodology for faster development of storytelling chatbots. Exp. Syst. Appl. 190, 116223 (2022). https://doi.org/10.1016/j.eswa.2021.116223

  11. Schmitt, O., Buschek, D.: CharacterChat: supporting the creation of fictional characters through conversation and progressive manifestation with a chatbot. Creat. Cogn. (2021). https://doi.org/10.1145/3450741.3465253

    Article  Google Scholar 

  12. Banter bot by Google Creative Lab - experiments with google. In: Google. https://experiments.withgoogle.com/banter-bot. Accessed 16 Oct 2022

  13. Kreminski, M., Wardrip-Fruin, N.: Generative Games as Storytelling Partners. In: Proceedings of the 14th International Conference on the Foundations of Digital Games (2019). https://doi.org/10.1145/3337722.3341861

  14. deconstructeam, Interview with the Whisperer. In: itch.io. https://deconstructeam.itch.io/interview-with-the-whisperer. Accessed 16 Oct 2022

  15. (2020) The Mystery of the Three Bots. https://google.github.io/mysteryofthreebots/. Accessed 16 Oct 2022

  16. (2021) Semantic ML. In: Google. https://github.com/google/making_with_ml. Accessed 16 Oct 2022

  17. Fraser J, Papaioannou, I., Lemon, O.: Spoken conversational AI in video games. In: Proceedings of the 18th International Conference on Intelligent Virtual Agents (2018). https://doi.org/10.1145/3267851.3267896

  18. AI Dungeon. https://play.aidungeon.io/main/home. Accessed 21 Oct 2021

  19. Sali, S., et al.: Playing with words. In: Proceedings of the Fifth International Conference on the Foundations of Digital Games - FDG 2010 (2010). https://doi.org/10.1145/1822348.1822372

  20. Xi, Y., et al.: Kuileixi: a Chinese open-ended text adventure game. In: Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing: System Demonstrations (2021). https://doi.org/10.18653/v1/2021.acl-demo.21

  21. Event[0] on Steam. https://store.steampowered.com/app/470260/Event0/. Accessed 27 Oct 2020

  22. Bot Colony in Steam. https://store.steampowered.com/app/263040/Bot_Colony/. Accessed 27 Mar 2022

  23. Kobzošová, K.: The changing value of the thousand and one nights and its influence on modern and contemporary Arabic literature, p. 16 (2012)

    Google Scholar 

  24. Enderwitz, S.: Shahrazâd is one of us: practical narrative, theoretical discussion, and feminist discourse. Marvels Tales 18(2), 187–200 (2004). https://www.jstor.org/stable/41388707

  25. Zhang, S., et al.: Personalizing dialogue agents: I have a dog, do you have pets too? (2018). https://arxiv.org/abs/1801.07243

  26. Villar, S.O.: SHRDLU (2022). Accessed 27 Mar 2022. https://github.com/santiontanon/SHRDLU

  27. Realistic Net 1799: No comment, just some goofy AI stuff., r/AIDungeon 04 Apr 2022. www.reddit.com/r/AIDungeon/comments/twbpvw/no_comment_just_some_goofy_ai_stuff/. Accessed 04 Apr 2022

  28. TrovianIcyLucario, A.I Dungeon nonsense I’ve collected: Part 2, r/AIDungeon 03 Apr 2021. www.reddit.com/r/AIDungeon/comments/mj11bt/ai_dungeon_nonsense_ive_collected_part_2/. Accessed 04 Apr 2022

  29. Wank my Butt: New player. All of my stories derail into nonsense almost immediately. Is this normal?, r/AIDungeon 16 Jan 2022. www.reddit.com/r/AIDungeon/comments/s53ywr/new_player_all_of_my_stories_derail_into_nonsense/. Accessed 04 Apr 2022

  30. Mateas, M., Stern, A.: Façade: An experiment in building a fully-realized interactive drama (2003)

    Google Scholar 

  31. Steam - God of Word. https://store.steampowered.com/app/467320/God_of_Word/. Accessed 04 Apr 2022

  32. Steam - Orbi’s chronicles. h. https://store.steampowered.com/app/1492190/Orbis_chronicles/. Accessed 04 Apr 2022

  33. Eladhar, M.P., Sullivan, A., Smith, G., McCoy, J.: Ai-based game design: enabling new playable experiences (2011)

    Google Scholar 

  34. Steam Terraria. https://store.steampowered.com/app/105600/Terraria/. Accessed 03 Apr 2022

  35. Steam - The Red Strings Club. https://store.steampowered.com/app/589780/The_Red_Strings_Club/. Accessed 03 Apr 2022

  36. Steam - A Short Hike. https://store.steampowered.com/app/1055540/A_Short_Hike/. Accessed 03 Apr 2022

  37. Mixamo. https://www.mixamo.com/#/. Accessed 06 Apr 2022

  38. Chatterjee, S.: 1002 short stories from project Guttenberg. In: Kaggle (2020). https://www.kaggle.com/shubchat/1002-short-stories-from-project-guttenberg. Accessed 16 Oct 2022

  39. openai/gpt-2. OpenAI, 2020. Accessed 01 May 2020. https://github.com/openai/gpt-2

  40. Wardrip-Fruin, N.: Three Play Effects-Eliza, Tale-Spin, and Sim City. Digital Humanities, pp. 1–2 (2007)

    Google Scholar 

  41. About Wutiaoren. https://wutiaoren.info/. Accessed 04 Apr 2022

  42. Yang, D., Zhou, Y., Zhang, Z., Li, T.J.J., LC, R.: AI As an active writer: interaction strategies with generated text in human-AI collaborative fiction writing. In: Joint Proceedings of the ACM IUI Workshops 2022 (vol. 10) (2022)

    Google Scholar 

  43. GPT-3 Powers the Next Generation of Apps. OpenAI, 25 Mar 2021. https://openai.com/blog/gpt-3-apps/. Accessed 06 Apr 2022

  44. Fares, M., Kutuzov, A., Oepen, S., Velldal, E.: Word vectors, reuse, and replicability: towards a community repository of large-text resources. In: Tiedemann, J. (ed.) Proceedings of the 21st Nordic Conference on Computational Linguistics, NoDaLiDa, Linköping University Electronic Press (2017)

    Google Scholar 

  45. Dreamily API. In: Dreamily API - CaiyunWiki. https://open.caiyunapp.com/Dreamily_API. Accessed 17 Oct 2022

  46. OpenAI Dall\(\cdot \)E 2. In: OpenAI. (2022) https://openai.com/dall-e-2/. Accessed 17 Oct 2022

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yuqian Sun .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Sun, Y., Ni, X., Feng, H., LC, R., Lee, C.H., Asadipour, A. (2022). Bringing Stories to Life in 1001 Nights: A Co-creative Text Adventure Game Using a Story Generation Model. In: Vosmeer, M., Holloway-Attaway, L. (eds) Interactive Storytelling. ICIDS 2022. Lecture Notes in Computer Science, vol 13762. Springer, Cham. https://doi.org/10.1007/978-3-031-22298-6_42

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-22298-6_42

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-22297-9

  • Online ISBN: 978-3-031-22298-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics