CHATGPT-ASSISTED EDUCATIONAL GAME DEVELOPMENT: A PROMPT ENGINEERING TECHNIQUE FOR TEACHERS WITHOUT CODING EXPERIENCE

1st International Scientific Conference Education and Artificial Intelligence (EDAI 2024), [pp. 153-164]

AUTHOR(S) / АУТОР(И):  Aleksandar Spasić , Miljana Mladenović , Bratislav Nikolić , Lazar Stošić

Download Full Pdf   

DOI: 10.46793/EDAI24.153S

ABSTRACT / САЖЕТАК:

Extensive research in AI has raised various questions, including how AI transformers can advance teaching and learning practice. Typically, ChatGPT is employed for tasks like content creation, research assistance, and language learning, including coding in computer languages. The main objective of this study was to examine the possibilities of teachers designing and developing teaching material based on educational games, assuming they lack coding competencies. This study presents the development and implementation of an easy educational card game known as the Memory Game (also called Matching Pairs or Concentration) using HTML5, CSS3, and JavaScript. The game aims to enhance memory retention and cognitive skills through a classic card-matching game. The method used here is to create a carefully designed prompt using natural language. The prompt suggested here can be classified as a software development task prompt focusing on educational game design using web technologies. It provides a mix of functional requirements (game mechanics, grid layout) and non-functional requirements (aesthetic consistency, performance). Such prompts are commonly used in software engineering to guide developers through structured feature implementations for applications that have both educational and entertainment value. The first significant finding of this study highlights ChatGPT’s remarkable capacity to emulate programmer-like responses. Secondly, the results obtained indicate that a carefully tailored prompting approach can be the preferred strategy for teachers with a lack of coding competencies when generating educational games using ChatGPT. In conclusion, the research suggests that slight modifications and adjustments of the presented prompt can be used in the design of similar educational card games. The continuation of this research should demonstrate the possibilities of ChatGPT and similar AI tools in designing more complex educational games.

KEYWORDS / КЉУЧНЕ РЕЧИ:

ChatGPT prompt engineering, Memory game, Cognitive training, Web-based interaction, HTML5 Canvas, JavaScript game logic

REFERENCES / ЛИТЕРАТУРА:

  • Bach, S. Sanh, V., Yong, Z,X., Webson, A., Raffel, C., Nayak, N.V., Sharma, A., Kim, T., Bari, M.S., Fevry, T., Alyafeai, Z., Dey, M., Santilli, A., Sun, Z., Ben-david, S., Xu, C., Chhablani, G., Wang, H., Fries, J., Al-shaibani, M., Sharma, S., Thakker, U., Almubarak, K., Tang, X., Radev, D., Jiang,M.T., Rush. A. (2022). PromptSource: An Integrated Development Environment and Repository for Natural Language Prompts. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics: System Demonstrations, pp 93–104, doi: 10.18653/v1/2022.acl-demo.9.
  • Cotton, D. R. E., Cotton, P. A., & Shipway, J. R. (2023). Chatting and cheating: Ensuring academic integrity in the era of ChatGPT. Innovations in Education and Teaching International. https://doi.org/10.1080/14703297.2023.2190148
  • Crocker, N.B. (2024) AI-Powered Developer Build great software with ChatGPT and Copilot, Shelter Island, NY: Manning 
  • Firat, M. (2023). What ChatGPT means for universities: Perceptions of scholars and students. Journal of Applied Learning & Teaching, 6(1). https://doi.org/10.37074/jalt.2023.6.1.22
  • Flogie, A., & Aberšek, B. (2019). The Impact of Innovative ICT Education and AI on the Pedagogical Paradigm. Newcastle: Cambridge Scholars Publishing.
  • John, I. (2023). The Art of Asking ChatGPT for High-Quality Answer: A Complete Guide to Prompt Engineering Techniques. Nzunda Technologies Limited.
  • Karthikeyan, C. (2023). Literature Review on Pros and Cons of ChatGPT Implications in Education. International Journal of Science and Research (IJSR), 12(3), 283-291. https://doi.org/ 10.21275/SR23219122412
  • Liu, C., Bao, X., Zhang, H., Zhang, N., Hu, H., Zhang, X., Yan, M. (2023). Improving ChatGPT Prompt for Code Generation,   arXiv, pp. 1–12, Avilable at:                  https://arxiv.org/pdf/2305.08360, https://doi.org/10.48550/arXiv.2305.08360
  • Ruskov, M. (2023). Grimm in Wonderland: Prompt Engineering with Midjourney to Illustrate Fairytales. 19th IRCDL (The Conference on Information and Research science Connecting to Digital and Library science), February 23–24, 2023, Bari,         Italy. URL-   https://arxiv.org/pdf/2302.08961.pdf or https://doi.org/10.48550/arXiv.2302.08961
  • Sahoo, P., Singh, A.K., Saha, S., Jain, V., Mondal, S., Chadha, A. (2024). A systematic survey of prompt engineering in large language models: techniques and applications. arXiv preprint arXiv:2402.07927. Available at: https://arxiv.org/abs/2402.07927 or https://doi.org/10.48550/arXiv.2402.07927
  • Skrabut, S. (2023). 80 Ways to Use ChatGPT in the Classroom Using AI to Enhance Teaching and Learning. Rhode Island: S. Skrabut.
  • Sullivan, M., Kelly, A., & McLaughlan, P. (2023). ChatGPT in higher education: Considerations for academic integrity and student learning. Journal of Applied Learning & Teaching, 6(1). https://doi.org/10.37074/jalt.2023.6.1.17
  • Velleman, D.J., & Warrington, G.S. (2013). What to Expect in a Game of Memory. The American Mathematical Monthly, 120(9), 787–805. https://doi.org/10.4169/amer.math.monthly.120.09.787
  • Whately, B. (2022, December 3). 3 Principles for Prompt Engineering with GPT-3. LinkedIn Pulse. URL- https://www.linkedin.com/pulse/3-principles-prompt-engineering-gpt-3-ben-whately/
  • Wolfram, S. (2023). What Is ChatGPT Doing … and Why Does It Work?. Champaign, IL, USA: Wolfram Media, Inc.