Gamification and Machine Learning Inspired Approach for Classroom Engagement and Learning

Technology has enhanced the scope and span of the teaching and learning process but somehow it could not enhance the self-motivation and engagement among the students to the same scale. (e lack of self-motivation and intermittent engagement is one of the prime challenges faced by educators today. Perplexing tasks for the faculty are to embroil students during the lecture. (is work paves new ways to scale up the enticement using artificial intelligence and machine learning. (e intelligent framework proposed here is built on yet another novel methodology used globally for user engagement and is termed gamification. (e primary objective of the present research work is to negate the issue of disengagement by designing and implementing a gamified framework on 120 students from higher education that will include student engagement, enticement, and motivation. Generally, mechanisms are designed for specific courses, whereas the gamified system proposed is an open-ended method irrespective of course and the program being studied, and this framework has endeavored on multiple courses. To enhance the utility of the gamified framework, ANFIS model is utilized for smart decision-making concerning rewards distribution that is directly proportional to the number of coins gained by the students. As an outcome, better participation of a group of students under the proposed intelligent gamified system is reported as compared to the control group thus endorsing the success of the model.


Introduction
Gamification is one of the prominent research fields that has sprung up in the recent years, but still has a lot of unexplored areas [1,2]. Greater attention is required to integrate concepts of gamification and educational games to enhance the latest elements and use of handheld devices in the classroom to upgrade the traditional learning framework [3]. Elaborate use of game elements in specific educational contexts makes the concept of gamification more engaging; however, strong technical support is required for controlled implementation and evaluation of gamification in the field of education [4]. To support learning and teaching goals, a gamified educational system [5] can be viewed as the design scheme of using game design elements in contexts of education [6]. e process of gamification involves the usage of various software, video games, or computers, and it is much more beyond this [7]. Gamification is a vast concept that consists of game design elements, mechanics, and dynamics. Along with this, it is a combination of engagement and progression loop. Educational organizations are moving toward e-learning. ey are providing online courses via Massive Open Online Courses (MOOCs) and material for their students. It has become a huge challenge for educational organizations to retain the students associated with their organization. Gamification may be used to create a bridge between education organizations and their students. is will help them to provide a more captivating environment to students that help the organizations to increase their productivity and user engagement on their portal [8,9]. e prompt development of mobile technology is shifting the paradigm from e-learning to mobile learning [10].

Problem Identification.
Although gamification has provided a significant platform to be deployed in several fields, it is still an open quest to implement successfully [11]. An adaptive analysis needs to be done to understand the fact that does gamification work. erefore, it becomes crucial to design the gamified process very carefully. Missing of required game design elements may result in unexpected output from gamification. As we are dealing with generation-z students, they are losing their interest in the traditional education system to enhance new learning experiences. By analyzing the sensitivity of students toward their study and the advantages of gamification technology, a need of involving new gamification-oriented engagement technology in the education system has been realized.

Motivation.
As gamification is an emerging technique, it motivates to enhance the traditional learning methods [12,13]. Gamification has also contributed to the development of the students suffering from several psychological issues such as dyslexia, depression, stress, anxiety, and many others [14]. Gamification is also used with virtual simulations to increase learning exposures that help students to gain competency and confidence. Moreover, gamification in environmental education has been implemented for social causes [15]. A mobile-based education system was developed in the form of a game to increase user awareness and participation to save the environment.

Contribution.
By analyzing the above-discussed issues, a novel gamification technology-oriented education framework is proposed to motivate the students for their studies. Gamified application is only complete when it has its welldefined components, mechanics, and dynamics [16]. A complete element-based pyramid of classroom learning is presented in Figure 1. e primary factors such as valuable structure, meaningful choices, and quantifiable metrics are also included in the gamified framework to complete the process of Gamified Educational System (GES). In recent years, machine learning has shown remarkable development in terms of analyzing data and predictions. It plays a major role in the field of education for analyzing the performance of the students by identifying the early disengagement factors [17].
e size and quality of data are two important factors for the prediction based on any machine learning technique. e data set involved for predictive analysis should be more indicative, which leads to the more precise predictions they are expected to make [18]. In this proposed study, an attempt of combining the most influential parameters of machine learning and gamification is made to enhance the effectiveness of the education system. e contribution of the proposed system is as follows: (1) Student's engagement and regularity to classes will be examined through attendance in a gamified framework (2) Examination of the overall performance of students in the gamified framework on a weekly basis (3) e microlevel study elaborates the student's participation with respect to different attributes of the gamified framework (4) Machine-learning-oriented reward-based decisionmaking for the enhancement of classroom engagement is structure of the article is as follows: some of the imperative work related to gamification and machine learning is discussed in Section 2. e solution concerning the abovementioned proposed objectives is thoroughly explained in Section 3. e evaluation of the proposed gamified framework and calculated statistical outcomes are discussed in Section 4. At last, Section 5 closes the article by discussing some of the conclusive remarks concerning the proposed solution related to the Gamified Education System (GES).

Literature Review
Some of the imperative work related to gamification and machine learning in the domain of education is discussed in this section. e review of the literature for the proposed solution is presented by dividing it into two sections as follows:

Gamification in Education.
ere exists a lack of motivation among students; they are not highly motivated to come regularly for fulfilling the attendance requirement.
ere is a need to design an educational tool that has high engagement and motivational techniques as commercial or online games are bestowed [19]. Gamification is a novel concept that has caught the attention of academics; researchers have gradually increased in the field of education [20]. Games can play a vital role to use education as a medium to talk about energy issues. Energy education, social  interaction, and energy conservation have been used in gamification to enable support for smart grid technology. Intrinsic and extrinsic motivation is clearly explained. Games are a good example of intrinsic motivators [21]. Gamification helps to increase user engagement toward applications. Authors have introduced the concept of interactive mobile applications carrying the features of gamification. A simple and convenient application was developed for users to report road accidents in the interactive mode of the gaming layer [22]. Online education has become one of the largest demands in the field of Internet as well as in education. Online platforms provide a typical scenario of providing valuable content online on a web portal. e author has analyzed the existing problems of interaction design for online education and has introduced the concept of gamification to improve the overall utilization rate of user experience [23]. e gamified approach involves various fun-based games and makes it a useful learning strategy for the easy and successful implementation of programming topics [24]. e concept of gamification is entirely different from game-based learning. Gamification can be used in broader aspects than game-based learning [3]. e concept of gamification enhances student's motivation and engagement is not short-term as compared to gamebased activities. Game thinking and game mechanics are becoming popular day by day. It is being observed that the trend of adoption of gamification is going in a very promising manner [25]. Game mechanics and game dynamics create engaging experiences and act as important tools of gamification [22]. e game mechanics include challenges, competition, feedback, rewards (redemption of points), whereas the dynamics include constraints, progression, implementation, and day-to-day analysis. To create a highly engaged gamified framework, the usage of game mechanics and dynamics should be practiced carefully [26]. Deployment of gamification in the education system results in rigid game mechanics. Motivation, commitment, and good behavior from students are the generic expected outcomes from students. e use of game elements in a nongame environment is increasing so that everyone can acquire appropriate skills and knowledge [27]. Gamification carries the use of game mechanics for engagement. Gamification-based solutions may fail if they lack a clear and formal design process [28]. Before deploying gamification in any field, it is important to know about the methods or frameworks that exist so that process of gamification design must be developed for a successful engagement experience. Games are an addictive part of people's daily life and gamification is encouraging the users to enhance their problem-solving capabilities with fun and learning mechanisms [29]. After exploring and completing the deployment process, it has been identified that usage of game mechanics and game design has shown a significant impact in the area of teaching software development processes [25]. Gamification may be used as a motivational and instructional tool to be embedded in the curriculum of computer science students. Redesigning of software engineering curriculum has been proposed and progression gamification techniques have been deployed during implementation [12]. e Gamified learning activities are discussed to enhance student motivation and engagement. e activity is based on doing a pretest, reaching to the initial level, updating on leader board, learning the material, doing exercise, passing the minimum score, revising, and then proceeding to the next module [30]. e comparative analysis of the related existing system is described in Table 1.

Machine Learning in Education.
Revolutionary change in the information and communication technology (ICT) has brought significant change in the teaching and learning process of the education system. One of the biggest sources of information nowadays is online tutorials, which is considered as one of the beneficial aspects to enhance student learning and performance. As there is a huge source of data availability, the researchers have applied the machine learning vector algorithm to identify and classify the best subject-related videos of a particular topic [32]. Nowadays data associated with real-world problems have many concerns related to inconsistency and inadequate data; fuzzy sets provide the solution to overcome this issue [33]. e major challenges involved in learning analytics include big data framework, data collection, privacy, security, and the selection of the optimal algorithm. In terms of choosing the right machine learning algorithm, we have several dominant algorithms but choosing the best for a particular analysis is a tedious task [34]. Due to digital data availability, there is an increment in the development of various learning analytical techniques. Machine learning (ML) is a powerful technology that categorizes the data into a set of predefined generic classes. Supervised machine learning is applied on large-scale unstructured data of facebook groups, and Ml algorithms are used in text categorization to achieve a high rate of effectiveness. e research in this clearly shows that ML can be used as an effective method to identify who needs support within the personal environment of learning with the availability of educational data [35]. e problems related to decision-making are uncertain and fuzzy various algorithms, like CNS, ANFIS, are studied`to cope up with complicated inconsistencies among data [36,37].

Methodology
Effective student learning is directly proportional to student classroom engagement. e classroom engagement can be enhanced by increasing the involvement of the students by providing a platform with the most considerable parameters such as the facility of asking questions inside or outside the classroom, the advantage of creative learning, and a sense of belonging among students. e primary goal for the gamified framework is an effective environment that helps to enhance the engagement of the students. On the other hand, the secondary goal is to create interesting learning solutions to enhance student engagement through progressive methods. A perfect trade-off between engagement and progressive loops would be the "Success Mantra." e transparency has been maintained in the proposed gamified Mathematical Problems in Engineering 3 framework to motivate the students for active participation in the various activities and inculcates high engagement in a student-centric environment. e gamified classroom learning leads to intrinsic motivation among students, funbased learning, opportunity to explore outside the classroom, and, most importantly, a visualization of their performance. Furthermore, the process of reengineering has been done by utilizing the decision-making efficiency of Machine Learning (ML). Every step of the proposed solution is explained ahead.

Prelude.
Classroom learning is a complete package of content, pedagogy, delivery, and the assessment that helps to increase the student's engagement in the class. However, student engagement is only possible with the presence of the student in the classroom (student participation � attendance) as visualized in Figure 2.
Classroom learning is dependent on the methodology adopted by the instructor that helps the student to involve in the learning process. In the era of the Internet, the latest technologies are emerging very rapidly around the world, it is the concerned instructors who can bring the change by using the latest pedagogies eliciting a keen interest from students in the class [38]; this would directly increase the overall class engagement. e contextual factors influence the implementation of gamification that involves the instructor's skill, design elements, background knowledge of participants, and the use of the latest gamified concepts [39].
Completing the task by fun learning is significantly better than completing the task by enforced learning. Effective pedagogical tools [40] must comprise healthy interactivity sessions and the use of 3-D video lectures. Furthermore, focus is on practical concepts rather than theoretical concepts, and tutoring is significantly done by the instructor for a compound set of environments to make a session preeminent in every aspect.

Context of the Study.
e designed gamified framework is not specific to any course or any particular scheme. It is designed in such a manner that it can be incorporated with a different set of students belonging to diverse institutes. e gamified framework is being tested on more than 100 students on 6 different courses like oops, android, PHP, networking, data structures, and web designing, involving 2 different institute/college/university students of the Doaba region, Jalandhar. e teaching team comprises 10 faculties and each college/institute/university has one administrator to keep track of faculty implementing the successful gamified learning patterns. Informal consent has been taken from the faculty as well as students to witness the gamified framework. In the present scenario, we are following the teaching methods that include PowerPoint presentation lectures, seminars, group discussions in alternative weeks, if possible. Well-documented lesson plans, assignments, and evaluation criteria are enforced on students that lead to low engagement and lack of interest in the classroom. e design process of gamification involves the evolution of gameful systems that leads to complex interactions between the elements defined [1].

Procedure.
is section provides detailed information related to the process of acquiring rewards-oriented coins and badges that help to enhance the motivation of the students toward learning. e proposed gamified framework is designed by adding new elements in education such as coins, badges, leader boards, and reward systems. All these elements can be gained by students with the help of a virtual coin-based attendance system, coin-based classroom discussion, flipped classroom challenge, game-based learning activities, online quizzes, organizing a class or group activities. e complete process is demonstrated in Figure 3 defining the flow of the gamified framework.

Virtual Coin-Based Attendance
System. In the current education system, attendance is considered as one of the most imperative policy variables that define the scale of attention of the students toward their studies. e students with regular attendance are considered better performers. e increase in student regularity in the classes will enhance student classroom learning. In this gamified framework, the coins are associated with the attendance variable. Each student will be credited with virtual ATT coins (40 lectures � 4000 ATT coins). ere exist 3 situations; either the student is present, absent, or not attending the class as he/she is involved in extra curricular activity assigned by the faculty that can be termed as duty leave. If a student is absent in the class, 100 ATT coins are subtracted from the total acquired coins, for e.g., 4000-100 = 3900. A total of 100 coins per lecture are credited in the accounts of those students who are on duty  References  I1  I2  I3  I4  I5  I6  I7  I8  I9  1. Law et al. [ leave. Duty leave is leave assigned to students for participating in extracurricular activities. If a student is present in the class, ATT coins remain the same, that is, 4000 coins. e process of attendance-based coin distribution is explained in Algorithm 1.

Coin-Based Classroom
Discussion. e faculty should encourage classroom discussion that allows speaking. Several doubts can be clarified and a quick revision can take place. is kind of environment leads to interactive teaching and engage students to think and explore the concepts that enhance speaking skills. e oral discussions or verbal questions asked during the lecture are not associated with any marks. Students evade answering or show insouciance to the classroom discussions.
To enhance student engagement, each student who is more involved and has active participation will be awarded virtual coins, and badges will be assigned weekly. Each faculty will have 100 ATTcoins per lecture. e faculty has to allocate coins to students by asking verbal questions related to previous classes or current topics taught in the classroom. Each question asked by faculty during the lecture will be of 10 ATT coins, and if the student answered correctly, 10 coins were assigned which are clearly explained in Algorithm 2. If the answer given by the student is incorrect, no coins will be deducted as a gamified framework promotes positive mechanics.

Student challenge.
In a gamified framework not only faculty have the option to ask questions to students. Even students can ask questions to fellow students related to the topics discussed in the classroom. e question will be verified by the faculty and the virtual coins will be awarded to a student for giving a challenge to his/her fellow friends.
e student who will answer within the least login time will be awarded bonus coins. In classroom learning, we have observed that the students are scared of asking questions to faculty. erefore, in this gamified framework, a student can ask a doubt or questions through the application at any point in time and the complete process is explained in Algorithm 3.

Weekly Online Quiz.
e weekly online quiz can help the faculty to check the level of understanding of the concept taught during the sessions. e quiz will be point-based and multiple options will be given to students. e top 5% of students who will have the maximum correct answers in the minimum period will be assigned double ATT coins and the rest of the students will be assigned ATT coins based on the correctly answered questions. e process of online quiz performance-based coin distribution is explained in Algorithm 4.

Organizing Class Events/Participating in Extracurricular Activities.
is would be one of the richest tiers in which the student can gain a lot of virtual coins according to the event or task planned by the students. If the student participates in international conferences or international events, 500 ATT coins will be assigned. Any national event participation will fetch 300 ATT coins, interuniversity participation will gain 200 ATT coins, and participation or organizing college or class events will gain 100 ATT coins. Student participation in extracurricular activities is very important, but it has been observed that they resist projecting their talent due to loss of attendance or due to pressure of studies. Students involved in innovations like developing a research-based application and improving the existing algorithms, for example, involving concept of image processing that synthesizes the [41] novel images in combination with two images, will be highly appreciablex and will be awarded.

Flipped Classroom.
In classroom learning, more focus is given to the completion of the curriculum. e teacher's focus is on explaining the concept without any participation of Mathematical Problems in Engineering students. In contrast, a weekly one-day concept of the flipped classroom will be implemented that incorporates independent prework through self or online learning. e complete session of the flipped classroom will be based on student active interaction and valuable discussions that can help the students to achieve knowledge beyond the books. e top-performing students will be assigned with star performer badges.

Use of Game-Based Methods.
To make the session more interesting, fun-oriented game-based learning methods should be used. e major differences between game and gamification points are elaborated in Figure 4. Game-based learning can be part of the gamified framework used to enhance the education system. Motivation is considered as a convincing medium to involve people for their active participation in game playing. It has been identified that games engage students in a promising manner as compared to other mediums. ey have also concluded that computer games are a significant part of a youngster's life. Any game designed for learning purposes must have learning dynamics as well [42]. e traditional  education system follows learning by knowing approach.
As technology is commanding, one should adopt the skills of learning by doing also. e traditional education system can be made practicable with the help of pedagogical elements such as tasks and levels. e games such as flashcard, chain reaction, and out of box thinking can be incorporated into regular teaching to enhance student engagement. Games are part of the gamification process to enhance user engagement, productivity to achieve the desired results. Game-based learning provides comprehensive learning with a sense of authentic circumstances giving a chance to expand one's aspects of science. As an operative training approach game-based learning facilitates students with captivating participation. Games (1) SET Studdent ATT_coin � 4000 (2) if student status �� ABSENT then (3) Student ATT_coins � studentATT_coins -100 (4) else if student status � � student DUTYLEAVE then (5) student ATT_coins � student ATT_coins +100 (6) else if student status � � PRESENT then (7) student ATT_coins � student ATT_coins +0 (8) if student task � � COMPLETED OR student answer � � CORRECT then (9) student _coins � student ATT_coins + bonus coins (10) else (11) student ATT_coins � student ATT_coins +0 (12) end if (13) else (14) PRINT "wrong input" (15) end if ALGORITHM 1: Attendance-based coin distribution.
Games have well-defined rules, levels, and possibility of losing whereas gamification intrinsically rewards the player to enhance motivation.

Visualizing Real-Time Analysis.
Real-time analysis can be done to check student engagement with the number of virtual coins earned by the student based on attendance, knowledge, and active participation. e number of virtual coins gained or lost can be viewed by the faculty as well as admin to keep a proper track of students' performance as depicted in Figure 5.

Describing Players.
e description of players in Amy Jo Kim's model. Students and faculty will be active players. According to Amy Jo Kim's 1 model, Figure 6 explores the model of gamified classroom learning.

Device Activity Loops.
For gamified learning, we need to focus on two major aspects, namely, engagement and progression.

Engagement Loop.
It delineates the pathway that motivates the individual to do a particular task persistently.
It keeps the process moving. ATT-coins-based attendance system, coin-based classroom discussions, and weekly quizzes are part of the engagement loop.

Progression Loop.
e concept of randomness will be involved in the attendance module; on a particular day generated by the system, the students will get bonus ATT coins for attending the particular lecture and will be credited as per Algorithm 5. Similarly, the student who is absent on a particular day will lose ATT coins. Bonus day is different from normal attendance days as the student will gain coins for being present in the class. On the bonus day, If r = 10, then those present will gain 110 ATT coins, those absent will lose 120 ATT coins, and those on duty leave will gain 120 ATT coins.
Game-based teaching activities, flipped classroom learning, participating in extracurricular activities, and providing a challenge to students make the teaching more effective and collaborative.

Deployment of Tools.
ese are the virtual elements that are used to create a gamified environment and enhance the enticement factors. Game elements describe not only the control means to gamify various actions but also several activities, habits in a combination to design a persuasive and participative user experience.

Badges.
e star performers will be awarded weekly badges that can be shared on social media. ey are virtual symbols mentioned in Figure 7 that will be assigned to students for their various achievements.

Leader Boards.
e names of the top scorers will be displayed; this would create zeal of competition, and students will be rewarded with tangible and intangible reward mechanism. Topper's IDs are displayed on the leader board during the implementation as mentioned in Figure 8.

Analytical Graphs.
is would depict one's progress of gaining coins through attendance, quizzes, organizing events, and classroom discussions, as mentioned in Figure 5. When students win badges, points, and their names are displayed on leader boards depicting students' classroom performance, it makes gamification a long-term concept in contrast to focal game activities that exist for a short span of time [3].

Rewards.
e student who has more than the initial credited ATT COINS for the particular course code can redeem those coins. Rule: for redemption, coins for a particular course should be > initial ATT coins of the course (e.g. > 4000). Rewards can be tangible or intangible according to the faculty and the institution's consent. Rewards are divided into three tiers.
Tier 1 consists of rewards that will be awarded to students who gained maximum coins through attendance Tier 2 rewards will be availed by students who gained maximum coins through the quiz Tier 3 rewards will be availed by students who gained maximum points through extracurricular activities Rewards can be assigned to students on a weekly or monthly basis according to the decision of the institution administrator. Various decision-making mechanisms can be incorporated for assigning rewards. ere exists a complete barter system wherein students earn virtual ATT coins and can redeem their earrings in various tiers, as described in Figure 9.

Reengineering of Reward-Based Decision-Making.
e interactive decision is a module in the proposed model that helps the student to provide maximum permutation combinations concerning the badges earned through one of the most inspiring decision algorithms of the machine. For interactive decision-making, adaptive neuro fuzzy inference system (ANFIS) model is used to calculate the maximum combination of earned coins as presented in Figure 10 [43]. e coding of the ANFIS method is done using the PY-THON software. e model is trained and the concept of backtracking algorithm is used for optimizing the weights of the model. Table 2 explained the range of selected parameters that are used to provide the input to the ANFIS model for decision-making.  Layer 1 (Fuzzification). Adaptive nodes in the ANFIS architecture are denoted with square boxes. ere is the existence of node I of the first layer that takes values as inputs in the form of labels that are linguistic, such as Low, Moderate, and High. e (X) helps to regulate the level of input and also signifies the node function. For instance (1)

Layer 2 (Product)
. e next layer of the network signified as the second layer consists of fixed, rule-based nodes. is layer is denoted by and is also known as the membership layer. e firing strength is known by each node's output wi that is marked as a rule. e following equations indicate that the firing strength is calculated by utilizing the product rule. (2)

Layer 3 (Normalization).
e fixed nodes are defined in the third layer of the network. e firing strength ratio of i th rule is calculated through this rule. e following equation helps to perform firing strength normalization.

The barter system
The course begins with : lectures (L), total number of lectures in term (N) opening balance = L X N X 100 AttCoins    (3)

Layer 4 (Defuzzification)
. e fourth layer known as defuzzification executes the task by using the concept of multiplying fuzzy function with the output of previous nodes. By the following node functions, each node can be adjusted.

Layer 5 (Output).
e ultimate composite probability is calculated through the 5th layer, which is used to calculate the scale of susceptibility. e actual output is determined by considering all outputs of pervious nodes of layer 4 defuzzification and then applying weighted average summation operation.

Implementation
To extend the use of gamified framework beyond the existing contexts, there is a need for systematic study keeping in mind the effects of different individuals and situational contexts [1]. e effect of gamified learning was analyzed with the help of the following four products. Gamified learning management system Gamified learning application Game-based application (Geeker's hub) Interactive reward-based decision-making

Gamified Learning Management System.
It is a repository used to store and track the information on a timely basis. e gamified learning management system is divided into three main panels that include admin, school coordinator, and faculty. Admin creates an account for the school coordinator and the school coordinator assign students to a particular faculty. All the tasks performed by the faculty like registering students, assigning online ATT coins based on attendance, assigning classroom discussion coins, preparing online quiz, assigning badges, visualization of results is done through the designed platform.

Gamified Learning Application.
It is a mobile-based application that is used by students to perform online quizzes, track the online coins gained daily, and redeem coins in the form of rewards.

Game-Based Application (Geeker's Hub).
Various games are incorporated in this application, which includes an online housie game used to test student's aptitude knowledge. Another game is designed in the form of flashcards to judge students' knowledge of the c language. Games act as an intrinsic motivational factor for students. Each product developed has a novel structure and consists of unique features, as mentioned in Figure 11. e use of new technologies like the Internet, mobile phones, and online activities has made a huge difference in the education system as well [44]. Implementation of the latest information systems makes an impact on individual learning and increases the motivation and engagement of students. e concept of gamification is trending [45] because of its relatable elements that include fun-based learning, performing the task step by step, and challenges defined in a progressive manner. e quintessence of gamification does not only focus on technology, its diversity includes a better learning environment that increases student motivation and engagement by involving the reward system [46]. e gamified learning pattern is designed in such a manner that it does not completely sideline the traditional learning techniques followed in the education system. Traditional education is enhanced by adding virtual ATT coins, badges, rewards, funbased learning, and game-based activities to have higher engagement among the students.

Results and Discussion
In the field of gamification, the concept of high psychological ability are involved that demonstrate dimensions of the individuals, design elements, and qualities that affect user engagement and experience. e concept of gamification is not only about assigning coins to students, but it should also involve student creativity, collaborative activities, gaming strategies, and creating a situation for the overall involvement of students [26]. Considering all the above points mentioned, the attendance-based gamified framework was implemented in two different institutes or universities. ere should be a careful integration of the gamified learning context [20]. e proposed framework is designed in such a manner that it is not specific to any particular course or university.

Student Engagement and Regularity Analysis.
It was implemented in an institute where there was no attendance compulsion for the students. With the help of a gamified framework, students were intrinsically motivated to attend the classes that included a coin-based attendance system, fun-based learning, online quiz, and verbal discussion. Enhancement in attendance can be examined in all six sections, as presented in Figure 12.
For university students, 75% attendance was mandatory; however, change in the attendance is negligible as compared to previous months where the gamified framework was not applied. In the second class, it has been observed that there is a drop of 3% attendance in gamified framework as compared to nongamified framework, as mentioned in Figure 13. It has been decided to perform further analysis in order to enhance the gamified framework in the future.

Overall Performance of Students in the Gamified
Framework. In scenario 1, students performed all the activities and game-based learning sessions with high motivation and enhanced game mechanics and dynamics involved by gaining more and more ATT coins in their weekly performance. ere was a gradual increase in the weekly points gained, as illustrated in Figure 14, for continuous three weeks and a drop in points gained can be seen. e calculated outcomes represent the enhancement in student engagement; however, more intrinsic learning methods can be incorporated. e coins gained in Scenario 2 by the institute, students showed remarkable results in the first and second week of experimentation. However, a drop in points gained has been found in the third week, as demonstrated in Figure 15. Reasons were analyzed by the faculty members as it was a Gamified learning application     festive week and India's most popular festival was held this week.
Faculty's perception 1: students experienced first-time, fun-based learning through games that enhanced students' creativity and classroom interaction. Faculty's perception 2: students were highly motivated as they wanted to gain more attendance coins on a regular basis and performed the activities to the best of their capabilities. e implementation of gamified framework and its successful implementation on mechanisms are designed as an open-ended method, irrespective of the course and the program being studied, and this framework has endeavored on multiple courses. A meaningful gamification course design has been introduced representing the examination of the relationship between a gamified course, learning process, student involvement, and progress. In addition, in each stage of the course, design process outcome indicators and engagement of students have been identified that offer meaningful gamification. By focusing on meaningful teaching and learning, the results conclude that the technology-mediated gamification can facilitate supplementary enhancements.

Point-Based Decision-Making Analysis.
e attendance and other activities are considered as two parameters of the study which are used to evaluate the relationship of pointbased decision making. ANFIS contains the data processing efficiency of the two most consistent algorithms of machine learning, ANN and Fuzzy logic, for relationship analysis. Table 3 defines the inference system with nonlinear functions. A total of 9 Fuzzy rules are used to calculate the compounded relationship vector to evaluate every possible relationship for attendance and other activity-based events.
A total of 63 datasets are formed that contain more than 900 singular events. ese singular events are related to attendance and other activities involved in the enhancement of student engagement. To fulfill the purpose of training and testing, 50 datasets are used for training, and the remaining 13 datasets are used to assess the performance of the system. e training and testing performance of the designated decision-making machine learning models are represented in Table 4. e various other performance assessment metrics are sensitivity, accuracy, specificity, and F-measure that are intended for performance determination. Analysis based on error rates, such as root mean square error, median absolute error, and R 2 , are statistical measurements that are calculated to categorize the proposed solution performance. e performance of the ANFIS model gives better results in comparison to FS and ANN after analyzing the results in Table 3. e comparative accuracy achieved by the ANFIS model for reward-based decision calculation is 94.85%, whereas prediction accuracy with ANN is 91.77% and accuracy by FS is 90.86%. e improvement in terms of specificity is 93.25% in comparison to predicted models, namely, ANN (91.14%) and FS (89.76%). e level of improvement showed by sensitivity and F-measure are the same. From the above-calculated values, it can be inferred that the ANFIS classifier is far more competent for complex and nonlinear problems along with the fact it is more sensitive for multifactor-based relationship analysis.
After the evaluation of Table 5, it has been observed that the distribution value is much closer in comparison to FSand ANN-based predictive outcomes. e value of R 2 signifies that results are much closer to the regression line by attaining an accuracy of 0.91 in comparison to the accuracy attained by ANN (0.85) and FS (0.83). In comparison to VAF, RMSE, and MEDAE parameters for error calculation, it is has been found that the present model produces low errors. We can conclude that the ANFIS model shows an  acceptable error rate and has high selectivity and can be used for reward system mechanisms.

Predictor Stability Analysis.
System stability is defined as a measure of occurrence, which is used to analyze stability analysis over a period. e evaluation of system stability takes place for a limited period concerning Absolute Average Shift (AAS). e statistical measure value of AAS lies between 0 and 1. e value of 0 depicts good stability, whereas the value of 1 depicts the low performance of the system over a given period. As mentioned, the register minimal AAS value to the proposed model is 0.18, AAS maximal value is 0.52, and the average value of the overall experiment is 0.29. e above results determine that the technique presented is quite stable to check the performance-oriented, real-time decision-making.

Conclusion
Student engagement has been considered as one of the major concerns in classroom learning. e purpose of implementing a gamified framework for higher education is to increase student engagement and diverse learning methods. It helps to provide the opportunity for students to explore several learning methods through various activities. e mechanics and dynamics, such as challenges, competition, rewards, progression, implementation, and day-to-day analysis, play an important role in achieving considerable results. Specifically, in this research (i) students' engagement and regularity to classes are examined through attendance in the gamified framework; (ii) the overall performance of students is evaluated in the gamified framework on a weekly basis; (iii) a microlevel study has been conducted that elaborates student participation concerning different attributes of gamified framework; (iv) machine-learning-assisted decision-making solution is proposed for reward distribution to enhance the engagement of students in the classroom. Activities, such as verbal maneuver and fun-based learning, define the high involvement of the faculty that leads to the implementation of a successful gamified framework. e proposed gamified framework is validated by performing a comparative analysis. e calculated outcomes represented the high involvement of the students in the gamified framework and gained ATT coins in huge amounts.
6.1. Future Scope. Replicability of the gamified framework at various levels of education, including different streams, higher education, and secondary education is an area of research. e usage of more intrinsic game elements with combinational usage of components, mechanics, and dynamics to target specific motivations of players is still challenging.

Data Availability
e dataset used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
e authors declare no conflicts of interest.