Skip to main content
  • Research article
  • Open access
  • Published:

Developing a gamified artificial intelligence educational robot to promote learning effectiveness and behavior in laboratory safety courses for undergraduate students


According to previous studies, traditional laboratory safety courses are delivered in a classroom setting where the instructor teaches and the students listen and read the course materials passively. The course content is also uninspiring and dull. Additionally, the teaching period is spread out, which adds to the instructor's workload. As a result, students become less motivated to learn. In contrast, artificially intelligent educational robots (AIERs), help students learn while lessening the workload on instructors by enhancing teaching strategies, using robots to substitute for teachers, giving students access to a variety of instructional content, and improving interaction with students through the use of intelligent voice interactions and Q&A systems to promote student engagement in learning. If the robot is used for a long time for learning, it may lead to a decrease in students' interest in learning. Therefore, this study introduces the GAFCC model (the theory-driven gamification goal, access, feedback, challenge, collaboration design model) as an instructional design model to guide the development of a gamified AIER system, aiming to improve students' motivation and learning effectiveness for laboratory safety courses. To test the effectiveness of the system, this study conducted an experimental study at a university in China in the summer of 2022. 53 participants participated in the research, with a random sample taken from each group. Each participant was able to choose the time of their free time to engage in the experiment. There were 18, 19, and 16 participants in experimental group 1, experimental group 2, and the traditional group, respectively. Students in experimental group 1 learned using the gamified AIER system, students in experimental group 2 learned on a general anthropomorphic robot system and the control group received traditional classroom learning. The experimental results showed that compared to the other two groups, the gamified AIER system guided by the GAFCC model significantly improved students' learning achievement and enhanced their learning motivation, flow experience, and problem-solving tendency. In addition, students who adopted this approach exhibited more positive behaviors and reduced cognitive load in the learning process.


Artificial intelligence (AI) development in recent years has opened up a wealth of opportunities for education (Zhang & Aslan, 2021). As research has shown, AI research includes the development of machines with a certain level of intelligence (Chen et al., 2020a), with robots attracting considerable attention in the field of education. Numerous studies have investigated the various roles that Artificial Intelligence Education Robots (AIERs) can play in teaching and learning, including those of teaching assistants (Smutny & Schreiberova, 2020), support tools for teachers (Reyes et al., 2021), and tools for a personal consultation (Muniasamy & Alasiry, 2020). Integrating learning content into AIERs can reduce students' isolation while learning, improve communication skills, and increase their interest in learning (Chin et al., 2011; Lewis Johnson, 2001; Shorey et al., 2019; Wu et al., 2020). Meanwhile, all of these advantages are contingent on how well various types of AIERs are designed and implemented. Virtual and physical robots can be classified based on their forms (Pei & Nie, 2018), with virtual robots typically serving as educational tools for programming and platforms for innovative practices (Kelleher et al., 2007), and physical robots typically serving as supplementary teaching tools, smart teachers, and learning companions, among other things (Kasap & Magnenat-Thalmann, 2012; Tanaka & Matsuzoe, 2012). In particular, physical robots are able to reinforce learner learning behaviors, affective outcomes, and increase learning benefits when interacting with learners (Belpaeme et al., 2018), enhance higher-level interaction experiences (Pei & Nie, 2018), and produce measurable cognitive learning outcomes (Leyzberg et al., 2012). However, when applied to education, AIERs have remained mainly in STEAM education, language education, and special education (Pei & Nie, 2018; Scaradozzi et al., 2019), with few studies integrating it into laboratory safety education.

The laboratory environment is an important part of university teaching and scientific research in which poor safety education is a global phenomenon (Ayi & Hon, 2018). University laboratory accidents have increased over the past 20 years (Bai et al., 2022b), student interest in laboratory safety education is low, and traditional teaching methods have diluted students' attitudes toward laboratory safety issues (Ménard & Trant, 2020). In addition, laboratory safety education is also very restricted by time and location, and any special circumstances encountered may easily increase the workload of the instructor. However, some previous research has also addressed the limitations of the current AIERs, for instance, showing that students' interest in using robots for prolonged practice decreases (Fryer et al., 2017). Additionally, guided strategies are frequently used in studies involving educational robots, while none of the others have any chosen strategies (Hwang & Chang, 2021).

Among the various learning strategies, students have a positive attitude toward game-based learning in courses or in informal learning (Wallace et al., 2010). Some researchers define gamification as increasing student engagement in learning by incorporating gamified elements into non-game educational settings (Hanus & Fox, 2015). Gamification is recognized as the most effective way to promote student learning and increase student learning enjoyment (Ge, 2018; Hew et al., 2016). Achievement unlocking in gamification elements is a successful method that can keep users motivated over time (Groening & Binnewies, 2019). Furthermore, gamified AI is becoming an increasingly important area (Yannakakis & Togelius, 2018).

Past researchers have incorporated gamification strategies in the teaching of multiple disciplines, such as mathematics (Hung et al., 2014), language (Chu et al., 2022a), and science (Sung & Hwang, 2013), and findings have demonstrated the effectiveness of gamification strategies in subjects. However, few studies have applied gamification strategies to the development of AIERs in the field of laboratory safety. To increase students’ learning motivation in laboratory safety courses, this study combines AIER with gamified elements to develop gamified laboratory safety courses that allow learners to interact with the robot when it is presented in a game-like manner. Therefore, a gamified AIER instructional system was proposed for college students to learn laboratory safety. To evaluate the validity of the approach, an experimental study was conducted at a university to answer the following research questions:

  1. (1)

    Can students using the gamified AIER systems have better learning achievement than those who use the general anthropomorphic robot systems and traditional instruction?

  2. (2)

    Can students using the gamified AIER system have a lower cognitive load than those who use the general anthropomorphic robot system and traditional instruction?

  3. (3)

    Can students using the gamified AIER system show higher learning motivation than those who use the general anthropomorphic robot system and traditional instruction?

  4. (4)

    Can students using the gamified AIER system have a better flow experience than those who use the general anthropomorphic robot system and traditional instruction?

  5. (5)

    Can students using the gamified AIER system demonstrate better problem-solving tendency than those who use the general anthropomorphic robot system and traditional instruction?

  6. (6)

    What are the differences in learning behaviors between students using the gamified AIER instructional system and students using the general anthropomorphic robot system?

Literature review

Artificial intelligence education robot

Robots are an innovative learning tool (b; Chu et al., 2022a,) that can modify education and support student learning in different learning contexts (Evripidou et al., 2020). Many schools also introduce educational robots as an innovative learning environment that fosters higher-level thinking skills such as situational awareness and critical thinking (Blanchard et al., 2010). Robots in educational settings can potentially support the development of students’ skills such as problem-solving and collaboration skills (Chevalier et al., 2020). Educational robots are a powerful, flexible teaching and learning tool (Alimisis et al., 2009). It can be used to help students learn in a variety of subjects, including language, math, engineering, and STEAM (Lin et al., 2022; Sophokleous et al., 2021; Sullivan & Bers, 2018; Zhong & Xia, 2020); in addition, it can improve students' social, programming, and computational thinking abilities (Bers et al., 2014; Diago et al., 2022). Meanwhile, using robotics in the classroom has huge potential to enhance classroom instruction (Benitti, 2012; Chandra et al., 2020; Papert, 1980).

With the development of AI, the application of AI in education has received much attention from researchers (b; Chu et al., 2022a) and is considered to have an important role in education (Limna et al., 2022). Researchers have noted that the integration of AI technologies has the potential to improve the learning efficiency of learners (b, c; Chen et al., 2020a; Hwang et al., 2020). For example, Timms (2016) claimed that anthropomorphic robots could communicate with humans through visual, auditory, and sensory systems to facilitate human–machine interaction; Yang and Zhang (2019) noted that incorporating AI technologies into robots could allow them to take on the role of teachers primarily. Additionally, artificial intelligence has significantly advanced technology for robots, such as speech recognition systems (Benkerzaz et al., 2019) and picture recognition systems (Sun et al., 2022). In the past, the majority of research on educational robotics has focused on the education of children (Fridin, 2014; Kewalramani et al., 2021). The use of teaching robots in higher education is currently generating significant interest from scholars (Maximova & Kim, 2016). All of the aforementioned studies have shown how effective AI robots are in the classroom, but Chu et al., (2022a, b), claimed that when it comes to learning strategies, AIERs most frequently use hybrid and problem-solving-related strategies. Fewer studies have used game-based strategies to encourage students' participation in AI robot learning activities. Therefore, it is necessary to develop game-based or gamified AIERs.


Gamification is the use of tools and mechanisms, aesthetics, and game thinking to make people more engaged and motivated to do specific behaviors (Kapp, 2012). Deterding et al. (2011) defined "gamification" as the use of game elements in a non-game environment and noted that it has been used in educational settings. In recent years, researchers have used gamification methods in various educational applications (de-Marcos et al., 2016; Domínguez et al., 2013; Zhao et al., 2021). And the most notable advantages of using gamification for learning were the growth in students' attitudes, engagement, and performance. Points, badges, leaderboards, levels, feedback, and images were identified as important game elements for use in higher education (Subhash & Cudney, 2018). In a university programming course, Kasahara et al. (2019) used gamified elements and discovered that this method encouraged students to independently generate high-quality code and that students showed a higher willingness to learn. Hsu and Wang (2018) found that gamification helped improve the algorithmic thinking skills of elementary school students and enhanced their engagement experience and willingness to participate.

Nevertheless, some drawbacks of gamification have been identified in previous studies, including the lack of theoretical explanations to describe the link between gamification and motivational effects (Sailer et al., 2017; Seaborn & Fels, 2015), insufficient details given about the process and context of the gamified application (Falkner & Falkner, 2014; Hamari et al., 2014), and insufficient evidence left for the effectiveness of gamification (Hamari, 2017). Huang and Hew (2018) proposed a theory-driven gamification model: the GAFCC model, which has been proven by researchers' experimental studies to address the above gamification shortcomings. For instance, Huang et al. (2019) employed the GAFCC model to explore the effects of gamification on students' online interaction patterns and peer feedback, and the results of the study showed positive feedback, which also provided empirical evidence. Also, Huang and Hew (2021) tested the validity of the GAFCC model again and refined it, concluding through a three-year experimental study that learning from gamified courses using the GAFCC model was satisfied with the overall learning design and that gamified courses promote student learning.

Past studies have pointed out that the most commonly used theories in gamification research are self-determination theory and flow theory (Kalogiannakis et al., 2021; Osatuyi et al., 2018). These two theories have been widely used in gamification research in educational settings (Zainuddin et al., 2020). Nadi-Ravandi and Batooli (2022) concluded through meta-analysis and systematic evaluation that social, cognitive, and behavioral theories dominate the theoretical frameworks used in game development. Thus, the GAFCC gamification design model uses self-determination theory (Ryan & Deci, 2000), flow theory (Csikszentmihalyi, 1978), goal setting theory (Locke & Latham, 2002), social comparison theory (Festinger, 1954), and behavioral reinforcement theory (Skinner, 1953) as the basic theoretical support for feasibility (Huang & Hew, 2018).

The gamified AIER system

Structure of the gamified AIER systems

The gamified AIER system, as displayed in Fig. 1, was created using the GAFCC model and consisted of four modules (a learning content module, an interactive practice module, a gamified learning module, and a learning material display module), as well as four databases (a speech recognition database, an image recognition database, a learning material database, and a game content database). When students interact with robots, the dialogue system and responding system are provided by the Cruzr Business Intelligence System and Seewo APP, respectively. By building the models and databases in the system, the teacher, on the other hand, provides the students with access to learning resources. The learning content module is for students to learn content to assist them in acquiring knowledge before entering the game. The learning material display module is to give students different forms of knowledge presentation modes, such as video, voice interaction, drawings, and text. The interactive practice module provides learning tasks for students. Following completion of the learning content module, corresponding questions are presented for students to answer either cooperatively or competitively in the interactive practice module. According to the progression of learning, the gamified learning module calculates scores throughout the learning process, selects the winner, and grants students the necessary badges. Additionally, four databases with various functions support the four modules and assist in storing and managing the data, improving the system's usability for students.

Fig. 1
figure 1

System structure drawing

This AIER's intelligent dialogue system includes the functions of voice recognition and interaction, face recognition, face following, sound source location steering, etc. The AIER camera could automatically switch from standby to wake-up mode when it spots a person's face and will then take the initiative to do face recognition, broadcast greetings, and launch the home page. Fire safety, electrical safety, information security, and regulations are the four question categories that make up the learning content in the customized Q&A interface. Each question is structured with 4–6 fuzzy phrases, and each question category comprises 15–20 precise questions and answers. This allows students to ask inquiries with ease, using vocabulary they are familiar with, as shown in Fig. 2.

Fig. 2
figure 2

AIER interactive system development interface

It is worth noting that in this system, all the course learning content has been organized into the aforementioned categories with associated questions and answers, creating a database. Students can, on the one hand, ask the robot questions based on the data displayed in the system interface or if they run into problems. The AIER can quickly recognize the user's language when they communicate with the robot, identify vague or precise keywords through a natural language processing system, and search through a database of knowledge materials created by the system developer, displaying corresponding videos, pictures, texts, voices, and body movements as feedback. On the other hand, if students asked questions that were outside the scope of the existing database, AIER would automatically network into an online search and provide the best response. In short, students will receive accurate replies when the keywords in their questions match or are relatively close to the content of the database, or conversely, the AIER system will search for the answers to provide intelligent solutions.

Content and framework of the gamified AIER system

As shown in Fig. 3, Huang and Hew (2018) summarized motivation needs into five fundamental components: goals, access, feedback, challenge, and collaboration. They also provided a brief explanation of the motivation theory and key components that support motivational experiences in the GAFCC model. These five fundamental components can be expanded upon using gamified aspects like points, breakout, and competitiveness. For instance, the goal element is primarily presented as points and skill badges; the access element can keep boosting students' motivation by unlocking levels; the challenge and collaboration elements are primarily presented as points and competition; the collaboration is presented as cooperative answers and badges; and the feedback element is presented as admission tickets and skill badges, etc.

Fig. 3
figure 3

Gamified design of the GAFCC model (adapted from Huang & Hew, 2018)

Design process for the gamified AIER system

The development systems for the application of gamified AIER on laboratory safety courses are mainly Cruzr Business Intelligence System and Seewo APP, with a design procedure following five phases (Huang & Hew, 2018; Huang et al., 2019):

Step 1: Examining the learning objectives, learner background, and technical competencies.

The primary learning goals of the laboratory safety course are to increase students' awareness of safety when performing laboratory operations and to advance their understanding of rules, laboratory practices, and safety precautions. Previous research has revealed that learners are uninterested in lectures on laboratory safety and do not view the material as being essential to their profession (Ménard & Trant, 2020). Moreover, the course is highly repetitive and represents a high workload for the instructor. Therefore, there is a need to identify an effective way to encourage students to take laboratory safety courses. With the development of AI, gamified plugins and robots could be a new approach to solve this problem, increasing student engagement, reducing instructors’ teaching load, and improving the quality of teaching.

Step 2: Determining the motivating factors

Gamified elements are regarded as learning objectives in this study. Students could unlock levels by answering questions while they learn, with system recognition and timely feedback. Using challenges to encourage higher engagement and collaborative learning enhances the connection between learners.

Step 3: Matching motivators, game mechanics, and learning activities, as in Figure 4.

  • Goal

    Once learners have clarified their long-term and short-term goals, the system can use gamified elements such as badges to encourage students to set appropriate goals (Huang & Hew, 2018). The long-term objective of this study is lab entrance, while the short-term objective is to earn various badges by responding to questions and making breakthroughs. As a result, there are four different badges in this lesson: the rules and regulations badge, the internet safety badge, the electricity safety badge, and the badge for fire safety. The robot will dance and celebrate for students when they have successfully gathered all the badges and have gained admission to the lab.

  • Access

    The gamified AIER offers learners appropriate challenges, and students are led from easy to challenging by unlocking levels. In the gamified AIER, which leverages storyline-driven (i.e., obtaining access to labs) to boost student engagement, Fig. 5 depicts the beginning of a level. The system is set up with a variety of learning resources, including video lectures, tests, word searches, knowledge matching, and competitive quizzes. The system interface displays 0 points prior to the start of a level, and each time the learner completes a level, he or she can view the current progress and receive a skill badge.

  • Feedback

    Praise and quick feedback might help students feel more motivated and driven to continue trying. Ongoing feedback helps students gain insight into their goals and follow their success (Hassan et al., 2021). In addition to rewarding students for learning at different levels, badges for different skills provide feedback on learner effort and skill acquisition. Students also get immediate feedback for each right or wrong response in the form of points, audible effects, and symbol changes on the answer screen. The system plays sound effects, presents a reward screen, and informs which student has won the challenge all at once. Both students can view the correct or incorrect responses to their questions for reflection and knowledge consolidation. Additionally, voice interaction buttons are always accessible and movable within the UI of the gamified AIER. The robot can be called by the student by saying "Hello, Cruzr," allowing them to receive timely feedback without interfering with the learning interface.

  • Challenge

    Among the gamified elements, challenges are an essential part. Challenges can provide a platform for users to demonstrate their competence and success (Kyewski & Krämer, 2018). As they study, students are expected to provide answers to those questions. On the left and right sides of the same screen, two students participate in the competitive answer screen. The system's points are modified in real time so that it will give fast feedback on students’ performance.

  • Collaboration

    Bai et al. (2022a; b) stated that collaborative tasks should allow learners to communicate with each other more frequently. Interaction among students can help them strengthen their connection and communication with others. In the gamified AIER, the word selection interface and the knowledge matching interface require students to answer questions cooperatively, and students can complete these two parts of the content by discussing with each other or continuing to ask questions to the robot to promote cooperative learning among students (Fig. 6).

Fig. 4
figure 4

Match the motivation needs and game mechanics

Step 4: Launching design

After matching motivational elements, game mechanics, and learning activities, the gamified design would be implemented.

Step 5: Evaluating the design

As the gamified design is implemented, quantitative and qualitative data analysis would be conducted to evaluate the results.

Fig. 5
figure 5

System display interface

Fig. 6
figure 6

Competitive and cooperative game interface

Experiment design


There were 53 students from two classes at a Chinese university, with an average age of 20. The students from the two classes were sorted into three groups according to a randomization principle for the experiment. 18 students in Class A were in the GAIER (gamified artificial intelligence education robot) group, which used gamified strategies to learn on AIER; 19 students in Class B were in the AR (anthropomorphic robot) group, which did not use gamified strategies for learning with anthropomorphic robots; and 16 students in Class C were in the TI (traditional instruction) group, which used PPT and other learning materials for learning. And all three groups were instructed by the same laboratory safety instructor.


The instruments for this study included student pre-and post-tests, pre-and post-questionnaires on cognitive load, learning motivation, mind-flow experiences, and problem-solving tendencies.

The purpose of the pre-test was to assess the students' prior knowledge, i.e., their learning of basic laboratory safety. It consisted of 14 single and multiple choice questions (42%), 5 judgment questions (10%), 4 fill-in-the-blank questions (12%), and two short answer questions (36%) out of 100 points. The purpose of the post-test is to assess student performance in learning activities with the same types of questions and scores as the pre-test. The tests were developed from a database of test questions from school laboratory safety education exams and were evaluated by two teachers with more than 10 years of experience in teaching laboratory safety to ensure that the pre and post-tests of the selected knowledge content adequately assessed students' learning performance. Both tests were of equal difficulty and scored a total of 100 points. Among the 23 questions that could be fully judged as correct or incorrect (e.g., multiple choice, fill-in-the-blank, and judgment questions), they were divided into three different scales based on the difficulty index (D), which were 0%-40% for difficult questions (6/23), 40%-70% for moderate questions (9/23), and 70%-100% for easy questions (8/23). Moreover, the total discrimination index (d) for all questions ranged from 0.00 to 0.84, which was mainly focused in the interval of 0.33–0.52 (Salkind, 2017). The Cronbach's alpha values for the tests were 0.80 (Cortina, 1993).

The cognitive load questionnaire was adapted from Hwang et al. (2013) to understand the impact of the approach on students. The questionnaire was completed at the end of the learning activity. This questionnaire consists of 8 items with a Likert scale score of 7 (7 = strongly disagree; 1 = strongly agree). Five of the items were on mental load, and the other three were on mental effort. The Cronbach's alpha values for the two dimensions were 0.86 and 0.85, respectively, e.g., "The learning content in this activity is difficult for me," and "The teaching style or presentation of the material in this learning activity is difficult for me.

The learning motivation questionnaire was adapted from Wang and Chen (2010) based on Pintrich et al. (1991). This questionnaire consists of six items with a Likert scale of 5 (1 = strongly disagree; 5 = strongly agree), and the measurement dimensions are divided into intrinsic and extrinsic motivation, with Cronbach's alpha values of 0.79. This questionnaire was completed before and after the learning activity. Examples of questionnaire were "In this course, I prefer challenging material because I can learn new things" and "In this course, I prefer challenging material because I can learn new things". " and "Getting a good grade in this course is the most satisfying thing for me".

The flow experience questionnaire uses a scale developed by Pearce et al. (2005). This questionnaire was completed after the learning activity. This questionnaire consists of eight 5-point Likert scales (1 = strongly disagree; 5 = strongly agree), such as: "I am strongly engaged in this activity " and "I find this activity enjoyable". And the Cronbach's alpha value was 0.82.

Problem-solving tendency questionnaire was measured using a scale developed by Lai and Hwang (2014). This questionnaire consists of six items on a 5-point Likert scale (1 = strongly disagree; 5 = strongly agree) with Cronbach's alpha values of 0.78. This questionnaire was completed before and after the learning activity. Examples of this test are "I believe I am capable of solving the problems I encounter problems" and "I believe I can solve problems on my own."

The interview was modified from a measure developed by Hwang et al. (2009). It consisted of seven items to assess students' attitudes toward this gamified AIER learning (e.g., "How is this gamified AIER different from previous courses you have taken? What are the overall advantages of this learning method? What kind of help did you get with this approach? Please give an example"). To understand the impact of gamified AIER as an intervention on students, we randomly invited 10 students each from experimental group 1 and experimental group 2, for a total of 20 students, to participate in interviews to demonstrate their thoughts and feelings in the corresponding learning environments.

Coding scheme for learning behaviors

This study divided learning behaviors into three categories: active learning behaviors, passive learning behaviors, and question-answering behaviors to investigate the association between learning behaviors and learning achievement during gamified learning. The high-definition cameras are used to record student classroom behavior data. And the students’ behavior coding system was created by combining the game characteristics of this study with the coding schemes developed by Sung and Hwang (2018), Zhang et al. (2020), and Hwang et al. (2018).

As shown in Table 1, the behaviors of students actively reading the learning materials, recounting and memorizing the lessons, interacting with classmates, and asking questions regarding unsolved difficulties are examples of how learning behaviors are coded. Students read the questions before responding to them either cooperatively or competitively, depending on the system settings. For instance, when students read the question, it would be recorded as A1; when students can receive feedback from the robot on answering the question correctly, it would be recorded as A5; if the student answers incorrectly, feedback on the incorrect answer is given, which would be recorded as A6. The learning behaviors are recorded in the chronological order in which they occur.

Table 1 Coding scheme for the students’ behaviors

Experimental process

Figure 7 illustrates the experimental procedure. Before the learning activity started, all students were asked to take a pre-test and pre-questionnaire for a total of 30 min. In the second week, the instructor spent 20 min introducing the learning objectives and rules for robot use, after which students started the learning activities using different learning strategies. Experiment 1 group, the GAIER group, used the gamified AIER system as a learning tool in the laboratory safety classroom. This group of students all worked in groups of two to learn together. The AR group, as experiment 2 group, also worked in groups of two to learn through the AR system in the classroom. The robot in the AR group still has a voice interaction system and a Q&A system, and it shares the same database of learning resources as the GAIER group, which can still interact with students. Yet, the interaction process is not gamified, and incentives like verbal praise, sound effects, and badges are not used. Students are provided feedback on whether their responses are correct after responding to the questions, but there are no points calculated in the question–answer interface. The control group, as the TI group, was asked to use the PPT and learning materials for traditional learning. All groups spent 45 min to complete the learning task. After the learning activity, all students were asked to take a post-test, which lasted 30 min. Finally, the researchers randomly selected 10 students from each class to participate in the interviews, and a total of 20 students were interviewed.

Fig. 7
figure 7

The experimental procedure

Experimental results

Learning achievement

To detect differences in learning achievement, pre-test scores were used as the covariate, groups as the independent variable, and post-test scores as the dependent variable. First, the Shapiro–Wilk test was used to test the normality of the data, and the result was 0.97, p = 0.19 > 0.05, indicating that the sample in this study was normally distributed. Also, it was determined that the Levene test for homogeneity of variance was not violated (F = 2.94, p = 0.06 > 0.05), indicating that the null hypothesis is valid and that the variances between the groups are equal. In addition, homogeneity of regression coefficients within groups was confirmed, F(2,47) = 2.45, p = 0.10 > 0.05, indicating that analysis of covariance was appropriate. Therefore, a one-way ANCOVA analysis was performed.

Table 2 shows the results of the ANCOVA from the three groups of post-tests. The results showed that the differences in test scores between the three groups were significant(F (2,49) = 5.928, p < 0.01). In addition, post hoc analyses were conducted to examine specific differences in learning achievement between the experimental groups. The LSD (Least Significant Difference) test noted that comparing the adjusted mean of 83.57 for the GAIER group with the score of 69.25 for the TI group (p < 0.01), the GAIER group scored significantly higher than the TI group. Comparing the adjusted mean of 77.77 in the AR group and the score of 69.25 in the TI group (p < 0.05), the score of the AR group was significantly higher than that of the TI group. The results implied that students who learned with gamified AIER system and those who learned with anthropomorphic robot system had better learning outcomes than students who learned with traditional instruction.

Table 2 Descriptive data and the ANCOVA result of the learning achievement for the three groups

cognitive load

A post-questionnaire was used to investigate the cognitive load of each group of students, with groups as the independent variable and post-test scores as the dependent variable, and ANOVA analysis was conducted.

The results of the ANOVA are provided in Table 3, with five items of mental load, F = 12.07, p < 0.001; three items of mental effort, F = 8.41, p < 0.01. Therefore, the overall scale showed there was a significant difference across the three groups in the cognitive load (F(2,50) = 13.03, p < 0.001). In addition, post hoc analyses were conducted to examine specific differences between the three groups, with the LSD test showing that the GAIER group scored significantly higher than the TI group, and the AR group also scored significantly higher than the TI group. The results noted that both students who learned using the gamified AIER system and those who learned using the anthropomorphic robot system expressed a lower cognitive load than those who learned using the traditional method.

Table 3 Descriptive data and the ANOVA result of the cognitive load for the three groups

Learning motivation

To detect learning motivation, pre-questionnaire on learning motivation was used as the covariate, the groups as the independent variable, and post-questionnaire on learning motivation as the dependent variable. First, the Shapiro–Wilk test was used to test the normality of the data, and the result was 0.99, p = 0.81 > 0.05, indicating that the sample in this study was normally distributed. Also, the post learning motivation questionnaire of the three groups of students was investigated, and the Levene's test to determine homogeneity of variance was not violated (F = 0.87, p = 0.43 > 0.05), indicating that the original hypothesis was valid and the variance between groups was equal. Meanwhile, homogeneity of regression coefficients was confirmed, hence, the use of analysis of covariance was appropriate (F = 0.35, p = 0.71 > 0.05).

As shown in Table 4, the ANCOVA results illustrated a significant difference in learning motivation among the three groups (F(2,49) = 3.86, p < 0.05). In addition, post hoc analyses were conducted to examine specific differences in learning motivation between the three groups. According to the LSD test results, the GAIER group scored significantly higher than the TI group. The results demonstrated that students who learned using the gamified AIER system were better motivated to learn than those who learned using traditional methods.

Table 4 Descriptive data and the ANCOVA result of the learning motivation for the three groups

Flow experience

To investigate whether the combination of gamification elements and robotics could enhance students' flow experience, the experiment used a pre-questionnaire to investigate the flow experience of each group, with groups as the independent variable and post-questionnaire as the dependent variable, and ANOVA analysis was conducted. The results of the ANOVA are provided in Table 5.

Table 5 Descriptive data and the ANOVA result of the flow experience for the three groups

The results showed that there was a significant difference between the three groups of cardiac flow experience (F(2,50) = 5.95, p < 0.01). Also, post hoc analyses were conducted to examine specific differences in flow experience between the three groups. The LSD test revealed that the GAIER group scored significantly higher than the AR group, and the AR group also scored significantly higher than the TI group. The results indicated that students learning with gamified AIER system showed higher flow experiences than those learning with anthropomorphic robot system and those learning with traditional methods.

Problem-solving tendency

To test the students' problem-solving tendency, the pre-questionnaire on problem-solving tendency was used as the covariate, the groups as the independent variable, and the post-questionnaire on problem-solving tendency as the dependent variable. The Shapiro–Wilk test was used to examine the normality of the data, and the test result was 0.97, p = 0.28 > 0.05, indicating that the sample in this study was normally distributed. A post hoc questionnaire was used to investigate the problem-solving tendency of various students. The Levene's test to determine homogeneity of variance (F = 0.47, p = 0.63 > 0.05) was not violated, indicating that the original hypothesis was valid and the variance between groups was equal. In addition, homogeneity of regression coefficients was confirmed, indicating that the use of analysis of covariance was appropriate (F = 2.72, p = 0.08 > 0.05). Therefore, an ANOVA analysis was performed.

The results of the ANCOVA shown in Table 6 showed that there was a significant difference in problem solving tendencies between the three groups (F(2,49) = 5.29, p < 0.05). Besides, post hoc analyses were conducted to examine specific differences in problem solving tendencies between the three groups. The LSD test revealed that the GAIER group scored significantly higher than the TI group, and the AR group scored significantly higher than the TI group. The results suggest that students who learned using the gamified AIER system and those who learned using anthropomorphic robot system had stronger problem-solving tendencies than those who learned using traditional instruction.

Table 6 Descriptive data and the ANCOVA result of the problem-solving tendency for the three groups

Analysis of learning behavior patterns

To explore the differences in learning behaviors between the two groups of students, behavioral sequence analysis was used. The z-values were calculated to evaluate the coded data of each group and to generate a table of adjusted residuals for the students' behavioral patterns. Table 7 shows the adjusted residual table for the GAIER group. A z-value greater than 1.96 indicates that the sequence is statistically significant (Bakeman & Gottman, 1997). GSEQ 5.1 developed by Quera et al. (2007) was used for sequence analysis in this study.

Table 7 Adjusted residual table of the GAIER group

Figure 8 illustrates the behavioral patterns of the GAIER group; the number on each line represents the z value of the sequence, and the direction of each line denotes the transfer direction. Additionally, to separate the significance level of the sequence, the thicker line indicates that the z-value of the behavior was greater than 8.00, while the thinner line indicates that it was greater than 1.96 but less than 8.00. According to the figure, L6 → L7 indicates that the students questioned the robot to receive the learning materials; L7 → L1 indicates that the students read the learning materials after obtaining them; L1 → P1 indicates that students watched the learning materials while engaging in non-learning behaviors; L1 ↔ L2 indicates students independently changed the learning materials; L1 → L3 and L1 → L4 indicate students retold and memorized the learning materials; L3 → A1 and L4 → A1 indicate students began reading the questions as they entered the question–answer stage. Cooperative and competitive responses make up the majority of the answering stage. A1 → A3 demonstrates that after reading the questions, students proceed on to the competition stage; A3 → L9 demonstrates that following the competition, students actively checked the evaluations; A3 → P2 demonstrates that students had emotional ups and downs while competing; Students read the questions and then discussed them, as shown by A1 → L5; Students interacted before working together to answer the questions, as seen by L5 → A2; A2 → A5 indicates that students answered correctly in the process of cooperative answer; A2 → A6 indicates that students answered incorrectly in the process of cooperative answer; A6 ↔ A4 indicates that students would re-answer after answering incorrectly, but the possibility of answering incorrectly will still occur after re-answering; Students who re-answered correctly received an answer grade of A4 → A5; A5 → P2 denotes that after providing the correct response, students' emotions changed; Following the conversation and discussion, students reread the learning materials as shown by the L5 → L8; L8 → A2 indicates that students continued to answer the questions after revisiting the material.

Fig. 8
figure 8

Behavioral patterns of the GAIER group

Similarly, this study also analyzed the behavior of the AR group, as shown in Fig. 9 and Table8. The AR group was basically similar to the experimental group in terms of learning behavior, which was L6 → L7 → L1, or L1 ↔ L2, i.e., autonomously asking questions to the robot to obtain material for learning or autonomously changing the learning material given in the system. The learners also had the behavior of memorizing and retelling the learning materials before answering during the learning process. In terms of answering behavior, there was only cooperative answering in the AR group, so the behavior of the vast majority of the groups was from A1 → L5, reading the questions and then exchanging and discussing them; then L5 → A2, exchanging and then cooperating to answer the questions. l5 → L8 was the behavior of relearning when students found that they could not answer after reading the questions.

Fig. 9
figure 9

Behavioral patterns of the AR group

Table 8 Adjusted residual table of the AR group

The results of the behavior patterns of the two groups were compared, as shown in Fig. 10, with the solid lines representing behaviors common to both the GAIER and AR groups and the dashed lines representing behaviors specific to the GAIER group. Several differences in learning behaviors were found between the two groups, with individually significant and notable behaviors occurring only in the GAIER group, e.g., only students in the GAIER group exhibited the behaviors of competition (A3), checking feedback (L9), and emotional ups and downs (P2), which may be key factors in the superior learning of Experimental Group 1 over Experimental Group 2. For example, the A3 → P2 behavior reflects the advantage of adding gamification elements to the GAIER group, i.e., elements such as competition, points, and sound effects of victory or defeat made students show significant emotional actions and language during learning; the significance of A3 → L9 indicates that students were more willing to check their mistakes and actively view feedback after competition; The significance of A5 → P2 behavior is due to the fact that the GAIER group has certain storyline and levels, and students can get badges after completing the study, which makes their learning motivation enhanced and more interesting. Also, when students' learning emotions gradually rise, it also promotes communication among students, which is the reason for the significant P2 → L5 behavior. During the system setup of the GAIER group, levels, badges, and task progress bars were added to help students grasp the overall learning progress and improve their attention. Moreover, the competitive answer activity included countdown, points, sound effects, and special effects, which brought students a certain sense of tension and better motivated their desire to win and lose. At the same time, the competition activity requires two students to participate in the learning at the same time, and students need to memorize the learning material carefully in order to win, which in turn enhances students' active learning.

Fig. 10
figure 10

Behavioral learning patterns of the students in the two groups

Analysis of interview

The findings from the analysis of the interviews, including the codes and the frequency of occurrences, are presented in Table 9. After comparison, "better learning achievement" (N = 9), "increased motivation" (N = 13), "lower cognitive load" (N = 12), and "enhanced flow experience" (N = 10) were among the learning benefits obtained.

Table 9 Coding items and number of occurrences of the interview results

In terms of achievement improvement, S109 from the GAIER group said: "Studying alongside my classmates sparked interest and drive in studying, I became competitive because of the competition, and I made a concerted effort to memorize information and learn more than my opponents. I can't get distracted since the robot is less monotonous and more interactive". "I was more engaged in asking questions, recalling the information, and piquing my curiosity about learning", according to S206 from the AR group. In conclusion, students in both the GAIER and AR groups thought that the robot's role as a teacher helped them learn to boost their learning motivation and achievement. However, the difference is that students in the GAIER group are more serious about learning, while the learning mode in the AR group is not gamified, and the learning period is sufficiently long to feel tedious, as S210 in the AR group noted: "Although the robot provided prompt responses, it felt more lively than a traditional classroom. But when I was learning, I thought it was less exciting and more routine". Also, S205 said: "It was fun But it was repetitive and I had to click on the screen all the time. I hope new features can be added to make it more interesting".

In terms of enhanced learning motivation and flow experience, S105 in the GAIER group said: "GAIER made me interact with my peers competitively to arouse our interest. Having someone to compete with while answering questions would make learning more serious and clearer than remembering alone". "The competition sparked my curiosity and determination to learn", S202 in the AR group added. According to frequency statistics, students in the GAIER group showed greater motivation and interest in studying than those in the AR group.

In terms of cognitive load, S104 in the GAIER group described that: "GAIER was freer, I could manage the pace and speed of learning on my own, and I could play back anything I couldn't understand". S202 from the AR group stated that "the robot would direct me and answer my new inquiries when I asked them". These findings lead us to the conclusion that GAIER can be more advantageous to students than a conventional course.

Discussion and conclusions


In the past, students' learning interest in traditional laboratory safety courses was low and the uncertainty of teaching made the teaching workload high, while the gamified AIER not only enhances students' learning motivation, but also exists as a teacher's role and reduces the teacher's burden. Therefore, this study developed a gamified AIER learning system with the GAFCC model for laboratory safety courses to investigate its effects on students’ learning achievement, cognitive load, learning motivation, flow experience, problem-solving tendency, and student learning behaviors.

In response to research questions 1 and 2, the results showed that students who used a gamified AIER system with the GAFCC model and those who used a general AR system achieved better learning achievement and lower cognitive load than students who learned through traditional instruction. This may be because the use of robots for teaching and learning enhances students' active learning, and timely feedback mechanisms help learners understand their mastery of knowledge and reflect on it. This is in line with the findings of Huang et al. (2019). When students learn with the gamified AIER, they are given tasks in the learning system and informed that they can earn "badges" and "tickets" for success, which facilitate their retention of the learning materials. In their study, Chu et al. (2022b) suggest that learning achievement measurement is highly interested in robotics research projects from a cognitive perspective. In short, robots help students become more motivated and provide sufficient feedback during the learning process to facilitate student learning (Cheniti Belcadhi, 2016; Essel et al., 2022).

Students in the GAIER and AR groups had a lower cognitive load than those in the TI group, probably because the instruction-using robots were already able to encourage active learning among the students and reduce their cognitive loads. Student 3 in the GAIER group's interviews stated, for instance, that "the robot was more interactive than traditional teaching; the real-time feedback from the test made me feel involved in the classroom; and the robot can help me answer questions and give more concise information that I can understand”. Similarly, students in the AR group's interviews felt that the robot was very useful because it could give timely support when she did not understand questions.

To answer research questions 3 and 4, the experimental results also showed that using gamified AIER with the GAFCC model motivated students to learn so as to have a better flow experience than the general AR and traditional instruction. The GAIER group employed the GAFCC model, a gamification model built based on the five motivation theories. And the five-stage gamification design technique also provided information on how the GAFCC model was to be applied to the classroom in a more intentional way. The gamification and GAFCC models, on the other hand, were not explored by either the AR group or the traditional group. Additionally, one student from the AR group stated in the interviews that "robotics was quite exciting the first time I was introduced to it, but I lost interest after I learned it, and I would probably not like it if it were taught in this way again." However, the majority of the students in the GAIER group were eager to utilize the system once more and advocate for it to their classmates and instructors. The GAIER group, meanwhile, generated the lesson plans using the gamification strategy of the GAFCC model, which encouraged students' learning from five dimensions, including cooperative and competitive activities to promote students' active learning, the combination of unlocking levels and task progress to improve students' learning behavior, and the distinction of different level settings to bring students certain novelty and immersion. In this way, the GAIER group outperformed both the AR and traditional groups in terms of learning motivation and flow experiences. These results are consistent with those of Lee et al. (2022), who investigated the effects of AI chatbots on college students' learning motivation and attitudes. Both of these factors helped students become more motivated in their studies and enhance their learning motivation.

To answer research question 5, the results showed that, compared to traditional instruction, the gamified AIER system and the general AR system greatly increased students' tendency for problem-solving. One the one hand, the GAIER group had staged tasks, cooperation, and obstacles, while the AR group has more cooperative answers to questions. This helped both groups of students actively ask the robot for learning materials and then complete the test. Some studies have shown that effective peer interaction can help them identify learning problems and possible ways to find solutions (Merrill & Gilbert, 2008). On the other hand, feedback mechanisms were set up in both the GAIER and the AR groups. After students responded, the system immediately provided feedback and references, and students could also see them repeated times. As a result, both the GAIER and AR groups showed higher problem-solving tendency than the TI group, and this result is consistent with the findings of Hwang et al. (2014), which concluded that both effective peer collaboration and feedback mechanisms can promote students' problem-solving skills.

To answer research question 6, differences in learning behaviors between the GAIER and AI groups were analyzed. The results showed that the students in the GAIER group were more able to bring into the learning situation than the students in the AR group during the learning process. The behavioral pattern of the two groups showed that the timely feedback given by the robot is also a key function of the learning process (Epstein et al., 2002), which promotes active learning and motivates students to participate in learning to achieve their learning goals. It was discovered that L1 → P1 behavior was significantly different between the GAIER and AR groups. There are two possible explanations for this: first, the extensive learning content necessitated that students repeatedly ask the robot questions in order to obtain learning materials and then learn them; and second, the cooperation process was poorly coordinated, resulting in only one party interacting with the robot while the other party watched, which resulted in individual students' unrelated learning behaviors. The study's findings, however, demonstrated that the inclusion of gamified components helped students focus on their work while they were learning and kept them from becoming overly bored for extended periods of time. The learning materials and content were more comprehensive in the GAIER group, and the students displayed more concentrated and engaged emotions. Students in the AR group, on the other hand, initially expressed enthusiasm in interacting with the robot, but this interest gradually waned and there were little emotional ups and downs.

Conclusions and suggestions

In conclusion, gamified AIER significantly improved students' learning achievement, learning motivation, flow experience, and problem-solving tendency, and also reduced the cognitive load of learning. Additionally, students have better behavior patterns when supported by gamification strategies based on the GAFCC model. The five-stage instructional design model is more relevant to the learning process of the students, integrating them into the learning environment, and making it easier for them to accomplish the learning activities, and enjoy the learning experience. GAIER is a computer-simulated teacher who engages with students through specified information, assists them in carrying out their studies, assesses their understanding, and provides feedback as they learn. Additionally, during the interaction process, GAIER was designed to provide students with vocal, physical, visual, and textual encouragement in the form of emojis, victory sound effects, points, and badges. Students' motivation and flow experiences are nurtured in this way, which enhances their capacity for learning. "GAIER captures my interest and then engages me more in studying, and the interaction allows me to delve deeper into my knowledge," remarked S101 from the GAIER group.

From the perspective of educational system development, the current study further reveals the need to incorporate appropriate strategies in the development of AIER to enable active and immersive student participation in learning. Gamification strategies based on the GAFCC model enhance students' learning experience with the robot, prompting learners to show joy and excitement in the learning process. From a developmental perspective, AI is the trend of development, and incorporating AR with interactive, speech systems into the classroom can promote active student exploration and problem-solving tendency, providing different options for future research in AIER to explore. From a subject perspective, the teaching style is innovative because it uses a robot as the only teacher to lead students through the learning process. Teachers might avoid repeating the same information by merely summarizing and emphasizing the key points at the lesson's conclusion. This allows students to learn in a novel way. In the interviews, S105 of the GAIER group believed that first aid knowledge in medical education is suitable to be coupled with such robots, S205 of the AR group thought it was suitable for science knowledge, and S207 said that boring literature knowledge could be combined with robots. As a result, GAIER can be used to teach some necessary, timely, and repetitive knowledge. From the perspective of the appropriate users, college students are the study's target group since they are more adept at utilizing electronic devices, have a certain amount of background knowledge, and can grab robot operation more quickly. However, it will be challenging for elementary and middle school kids to reach the trial outcomes, and a teacher will be required to help them. Therefore, high school, college, and vocational students are the ideal options for the robot's function as a teacher because they have a particular level of knowledge and are technologically savvy.

Also, there are currently some limitations to this study that need to be noted. First, due to the small sample size, the results cannot be generalized to students' learning in all situations. Second, the coding content of the behavioral sequence analysis was not detailed enough, and in order to ensure that the students' actions could be seen, the recording with a high-definition camera mainly captured the students' side faces and the physical activities on the upper itself, and the students' expressions could not be seen head-on, making it impossible for the researcher to observe whether the students showed any dazed or closed-eye behaviors while reading. Finally, the game is very time-consuming to design, develop, and apply. To address the above limitations, this paper makes several suggestions. First, increase the experimental time and collect more abundant and comprehensive experimental data to prove the effectiveness of the proposed method. Second, in terms of coding content, dual-camera recording can be considered to analyze students' facial expressions from multiple angles, and student behavior can also be analyzed based on big data. For example, by writing codes to capture students' facial emotions using artificial intelligence technology, big data calculates the frequency of students' facial expression changes and categorizes them, avoiding the shortcomings of unclear recognition by the naked eye and further exploring students' behavior patterns. Third, the system development incorporates the GAFCC model based on gamification, and subsequent development can be continued by educators based on the model if the system supports game mechanics. Much of the success of gamification in this study was attributed to following the combination of the GAFCC model and the anthropomorphic robot, and future research could be tested on the basis of an iterative GAFCC model combined with different classes of robots.

Availability of data and materials

The data can be obtained by sending a request e-mail to the corresponding author.


Download references


The authors thank all the students who participated in the data collection.


This study is supported in part by the National Natural Science Foundation of China [Grant number 62107010], Fujian Provincial Social Science Foundation [Grant numbers FJ2021C118, FJ2022B033], Fujian Province Educational Science Planning [Grant number FJWTZD21-07], and Fujian Normal University New Liberal Arts Research Project [Grant number W202107].

Author information

Authors and Affiliations



QFY: Software, Conceptualization, Formal analysis, Writing—Original Draft, Writing—Review and Editing, reading—approving the final manuscript. LWL: Software, Investigation, Data Curation, Visualization, Writing—Review and Editing, reading—approving the final manuscript. J-HZ: Conceptualization, Methodology, Supervision, Formal analysis, Validation, Writing—Review and Editing, reading—approving the final manuscript.

Corresponding author

Correspondence to Jia-Hua Zhao.

Ethics declarations

Competing interests

The authors declare they do have no competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Yang, QF., Lian, LW. & Zhao, JH. Developing a gamified artificial intelligence educational robot to promote learning effectiveness and behavior in laboratory safety courses for undergraduate students. Int J Educ Technol High Educ 20, 18 (2023).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: