Objective
Teachers often rely on lectures, which can leave students as passive listeners. Game-based teaching tries to change that by having students learn through a game the teacher designs. The hard part is building a good game. A game with a strong story takes a lot of design work, because the teacher has to combine course content, characters, a plot and tasks that students must complete.
This study looked at one way generative AI (AI that produces text on request) might help. The researchers used Gemini 3 Pro to help write the character scripts for an offline scripted mystery role-playing game. In this kind of game, each player gets a secret character script, speaks as that character, and tries to reach a goal while others try to uncover hidden information. The game was built for undergraduate law students.
The study asked two questions:
- Can a game built this way, with AI help, support students' learning compared with traditional teaching?
- What learning experiences do students describe when they play it?
Methods
The study used a sequential explanatory mixed-methods design. That means the researchers ran a numbers-based experiment first, then used interviews to help explain the results. The whole teaching unit lasted six weeks.
Who took part
The participants were 84 second-year law undergraduates at a Chinese university. All had finished the basic law courses. By drawing lots, the researchers assigned 42 students to the game group and 42 to a control group that received traditional lectures. The same instructor taught both groups, with the same content, objectives and class time. Within the game group, students were split by lot into six groups of seven.
The game
The game was built around a well-known fictional law case, The Case of the Speluncean Explorers, which raises conflicts between law and ethics. Seven explorers are trapped in a cave and must survive five days before rescue. Each has seven units of food but needs two per day, so they must negotiate, trade or seize food. The research team wrote prompts and used Gemini 3 Pro to draft seven character profiles with different personalities, strengths, weaknesses and relationships. The researchers then checked all AI-generated content against the case and the learning goals, and corrected, removed or rewrote anything that did not fit. After play, the instructor commented on the students' behavior, and students wrote a reflective essay.
Measures and analysis
Students took a pre-test and a post-test built from the course syllabus, with knowledge questions and legal reasoning questions. Two law instructors reviewed the tests, and reliability was good (pre-test 0.84, post-test 0.87). The team compared post-test scores using ANCOVA, a method that adjusts for differences in starting scores. They added two checks, a rank-based version and a model that accounted for the six game groups. For the qualitative part, 24 students from low, medium and high scorers were interviewed for about 30 to 40 minutes each, and their interviews and essays were analyzed for themes. The study was approved by an institutional review board, and students gave consent.
Key Findings
Students in the game group scored higher on the post-test than lecture students after adjusting for their starting scores, and students described the game as immersive and motivating.
Test scores
- Before the unit, the game group actually scored lower (71.48 on average) than the control group (75.60).
- After the unit, the game group averaged 81.98 and the control group averaged 80.76.
- After adjusting for pre-test scores, the game group averaged 83.16 and the control group averaged 79.57. That is a gap of 3.59 points on a 100-point test.
- The statistical test for the group difference gave p below .001 and a partial eta squared of 0.566, which the authors describe as a substantial difference.
- Two extra checks pointed the same way. The rank-based test gave p = .016, and the model that accounted for the six game groups gave an adjusted gap of 3.61 points.
One of the technical checks was not fully met: the spread of scores differed between groups. The authors kept the main analysis because both groups had 42 students.
What students said
- Immersion. Students said the story felt close to real life. One student described feeling the conflict between emotion and reason, and the tension between following the law and surviving. Students said they moved from receiving knowledge to being part of the story.
- Using knowledge. Students described having to use what they had learned to solve puzzles and move the plot forward, rather than hearing it as theory. Some said the game connected material from different courses, and one said it built skills in text analysis and reading other players.
- Motivation and reflection. Students described pressure and excitement during the competition for food as a push to learn. Some said that struggling to explain legal consequences showed them a weakness, and that this made them want to take part more seriously in class later. One said they kept recalling details after the game ended.
These accounts come from students in the game group only. The authors use careful wording such as associated with, and the interview findings show how students felt, not what caused the score gap.
Implications
What the authors suggest
The authors say generative AI can be a support tool when building educational games, especially for learning scenarios and story structure. They stress that people must review AI output closely, because generated material can be biased, wrong or poorly suited to the setting, and the review depended on the researchers' own professional judgment. They also note that the cross-subject content in the game suggests room to build broader, multi-subject material into game design.
For instructors
- If you teach a subject with cases, conflicts or ethical dilemmas, a role-playing game built around a known case may be worth trying on a small scale.
- If you use AI to draft characters or scripts, plan time to check every character against the case and your learning goals, as the research team did.
- The authors point out that building such games takes some AI skill from the teacher, so training or practical guidelines could help.
For researchers and developers
The authors suggest comparing equal games made with and without AI to isolate what the AI adds.
Our reading (not the authors' recommendation): The test gain was a few points on a 100-point test, so a teacher should not expect a dramatic jump. A reasonable first step is to pilot the game with one class, compare results with a lecture version, and collect student comments as this team did.
Our reading (not the authors' recommendation): Because the study cannot separate the effect of the game format from the AI, a school should not buy or build AI tools for this purpose based on this study alone.
Limitations
The authors name several limits. First, the study did not separate the AI's contribution from the game's. There was no game made without AI to compare with, so the score gain could come from the game format, the group work or the novelty of a new activity. The authors say a novelty effect cannot be ruled out. Second, all students came from one Chinese university and one legal context, which limits how far the results apply to other subjects, schools or cultures. Third, the game group had only six game groups, which makes it harder to judge how much students within the same group influenced each other. Fourth, the school does not allow the test items and scoring details to be shared, so others cannot easily repeat the assessment. Fifth, AI tools change fast, so a future attempt may not match this one.
The paper also says the technical check for equal score spread was not met, though the authors argue equal group sizes make the main analysis hold up.
The paper does not mention, but the control group had no activity in place of the game beyond lectures, so a lecture group may differ from a game group in more ways than the AI.
The paper does not mention, but the interviews came only from students who played the game, so there was no comparison with how lecture students felt.
The paper does not mention, but the difference in test scores was fairly small in points, so it may matter less in practice than the strong statistics suggest.
Future Directions
The authors suggest several next steps:
- Compare otherwise identical games made with and without AI help, to see what the AI itself adds.
- Test AI-assisted games in other subjects, universities and cultures, with more game groups and longer time periods, to see whether the results hold and last.
- Create and validate test instruments that can be shared publicly, so other teams can repeat the work.
- Develop practical design guidelines and training for teachers who have little experience with generative AI.
- Study how changes in AI tools affect the way games are designed and run.
The paper also says it is not yet known whether exposure to knowledge from other subjects during play leads to real transfer or deeper thinking, and this needs further study.
The bottom line: In this randomized study of 84 law undergraduates in China, a role-playing game with AI-drafted scripts went along with higher post-test scores than lectures, by about 3.59 points on a 100-point test, and students described the game as immersive and motivating. The evidence is promising but limited: one university, one six-week unit, and no way to tell how much of the gain came from the AI itself. Teachers who try this should review every AI-written script closely and treat the results as a starting point rather than proof.
Comments 0
No comments yet. Be the first to share a thought.
Get new research summaries by email
Every new summary each morning, a weekly digest, or a monthly report. You choose, and you can unsubscribe in one click.