Generative AI empowered contextual educational games as facilitators of elementary school students' computational thinking tendencies

Abstract Computational thinking (CT) is a critical skill for the 21st century. To enhance students' engagement in CT‐related learning activities, educational games are considered an effective tool, especially for younger students. However, the absence of individualized feedback may limit their potential. To address this challenge, a generative artificial intelligence (GenAI)‐empowered contextual gaming environment was developed. A quasi‐experimental study was conducted with two intact fifth‐grade classes at an elementary school in eastern China. After controlling for pretest scores, the experimental group showed a modest but statistically significant advantage in self‐reported CT tendencies compared with the control group, whereas no significant between‐group difference was found in algorithmic knowledge. Students in the experimental group valued the opportunity to ask questions of GenAI‐powered non‐player characters (NPCs). The qualitative findings suggest that GenAI primarily functioned as motivational and cognitive scaffolding by encouraging inquiry, supporting problem clarification and sustaining engagement, rather than as a direct mechanism for improving algorithmic knowledge during the short intervention. These findings should be interpreted cautiously because CT tendencies were measured through self‐report, the intervention lasted 3 instructional weeks, and the sample was drawn from a single school. The study therefore provides preliminary evidence regarding the potential of GenAI‐supported contextual games to foster CT‐related tendencies and inquiry behaviours among elementary school students. Practitioner notes What is already known about this topic Game‐based learning (GBL) has been shown to support student development, particularly in enhancing primary school students' CT‐related tendencies and problem‐solving orientations. Generative AI (GenAI) has the potential to support personalized learning support within a GBL environment to facilitate learning. What this paper adds After adjustment for pretest scores, students in the GenAI‐enhanced condition showed a modest but statistically significant advantage in self‐reported CT tendencies compared with those in the conventional GBL condition. Interaction with GenAI‐powered NPCs in a GBL environment can stimulate students' inquiry, engagement and problem‐solving awareness. Implications for practice and/or policy: This study highlights the importance of engaging students in exploration, dialogue, reflection and repeated practice for fostering CT tendencies. Role‐playing contextual educational games, when integrated with GenAI, can effectively nurture students' CT tendencies while sustaining their motivation and engagement.

Authors

Institutions

Publication Details

Journal
British Journal of Educational Technology
Published
2026-11-13
DOI
https://doi.org/10.1111/bjet.70101
Primary Topic
Teaching and Learning Programming
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Generative AI empowered contextual educational games as facilitators of elementary school students' computational thinking tendencies

Jian-Wen Fang, Qing-Ke Fu, Gwo‐Jen Hwang, Wen‐Li Zhou
British Journal of Educational Technology
Teaching and Learning Programming
article

Generative AI empowered contextual educational games as facilitators of elementary school students' computational thinking tendencies

Jian-Wen Fang, Qing-Ke Fu, Gwo‐Jen Hwang, Wen‐Li Zhou
article en

Abstract

Abstract Computational thinking (CT) is a critical skill for the 21st century. To enhance students' engagement in CT‐related learning activities, educational games are considered an effective tool, especially for younger students. However, the absence of individualized feedback may limit their potential. To address this challenge, a generative artificial intelligence (GenAI)‐empowered contextual gaming environment was developed. A quasi‐experimental study was conducted with two intact fifth‐grade classes at an elementary school in eastern China. After controlling for pretest scores, the experimental group showed a modest but statistically significant advantage in self‐reported CT tendencies compared with the control group, whereas no significant between‐group difference was found in algorithmic knowledge. Students in the experimental group valued the opportunity to ask questions of GenAI‐powered non‐player characters (NPCs). The qualitative findings suggest that GenAI primarily functioned as motivational and cognitive scaffolding by encouraging inquiry, supporting problem clarification and sustaining engagement, rather than as a direct mechanism for improving algorithmic knowledge during the short intervention. These findings should be interpreted cautiously because CT tendencies were measured through self‐report, the intervention lasted 3 instructional weeks, and the sample was drawn from a single school. The study therefore provides preliminary evidence regarding the potential of GenAI‐supported contextual games to foster CT‐related tendencies and inquiry behaviours among elementary school students. Practitioner notes What is already known about this topic Game‐based learning (GBL) has been shown to support student development, particularly in enhancing primary school students' CT‐related tendencies and problem‐solving orientations. Generative AI (GenAI) has the potential to support personalized learning support within a GBL environment to facilitate learning. What this paper adds After adjustment for pretest scores, students in the GenAI‐enhanced condition showed a modest but statistically significant advantage in self‐reported CT tendencies compared with those in the conventional GBL condition. Interaction with GenAI‐powered NPCs in a GBL environment can stimulate students' inquiry, engagement and problem‐solving awareness. Implications for practice and/or policy: This study highlights the importance of engaging students in exploration, dialogue, reflection and repeated practice for fostering CT tendencies. Role‐playing contextual educational games, when integrated with GenAI, can effectively nurture students' CT tendencies while sustaining their motivation and engagement.

British Journal of Educational Technology
Wenzhou University (CN), National Taiwan University of Science and Technology (TW), Huzhou Normal University (CN), Lishui University (CN), National Taichung University of Education (TW), Yuan Ze University (TW)
Teaching and Learning Programming
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon