Designing gamification for geometry in elementary schools: insights from the designers

Popularly used in marketing and business, gamification has been gaining interest in educational contexts for its potential to invigorate otherwise mundane or difficult processes. A gamified environment transfers motivational elements of games to learning activities thereby engaging learners in the learning task thus transforming dull classroom environments to smart ones. This paper presents the design process of a gamification intervention in geometry at elementary level, based upon Huang and Soman (Gamification of education. Research report series: behavioural economics in action, 29. Rothman School of Management, University of Toronto, Toronto, 2013) model. We describe how insights from various sources helped us to refine an intervention previously used in one school. The design focuses on gamifying the tangram, an unplugged resource, through incorporating game-based elements of leader boards, points/stars and challenge levels to motivate young learners individually and in teams. Cognitive and motivational scaffolding undergird five challenge levels to bring affordances to self and social elements for learner participation in increasingly complex geometry tasks. There are limited theoretical models to guide educational researchers, especially ones that do not require digital resources. This paper presents our insights and recommendations to support scaffolded learning in student-centred gamified learning environments.

use in educational contexts is important if it is to become a recognized instructional approach (Dichev & Dicheva, 2017;Smiderle et al., 2020). However, knowledge of how to gamify an intervention for educational contexts is limited yet important for researchers and practitioners alike. Gamification interventions offer opportunities to engage the learner during the learning process (Pesare et al., 2016), thus creating smart learning environments.
We define gamification as "using game-based mechanics, aesthetics and game thinking to engage people, motivate action, promote learning, and solve problems" (Kapp, 2012, p. 125) in "non-game contexts" (Deterding et al., 2011, p. 1). Gamification is the practice of using "game elements or functionalities such as points, rewards, tasks, challenges, goals or immediate feedback for learning purposes" (Lämsä et al., 2018, p. 598). Gamification fosters a playful or gameful attitude, which may benefit learning, but differs from play. When learners play and play games, these activities aid in developing cognition, social processes, motivation and foundational mathematics skills, (D' Angour, 2013;Wiersum, 2012). Neither play nor playing games, however, contain all the elements and functionalities as those exemplified in gamification. Research provides evidence that gamification can have positive outcomes in mathematics (e.g., Baldeón et al., 2015;Stoyanova et al., 2017) and supports learner engagement and achievement in geometry specifically (see Aridi & Saad, 2020;[Authors]).
Over time, there have been numerous challenges in teaching and learning mathematics (Clements, 2004;Duru, 2010;Hodara, 2011;Jones, 2002;Rouadi, 2014;Siew et al., 2013). Traditional approaches have not been able to address the growing challenge of learner disengagement in studying mathematics. Teachers struggle to find appropriate instructional strategies in geometry (Sunzuma & Maharaj, 2019). Geometry is a strand that focuses on geometric thinking and visualization-key transferable skills. Strong links are found between teachers' instructional strategies and students mathematics proficiency (Hodara, 2011). Strong links also exist between active approaches that develop students' competence to enhance their performance (Duru, 2010;Patadia, 2016;Takele, 2020). In geometry, recommendations are made for an early start at elementary level and the use of active pedagogies (see Salifu et al., 2018). These challenge educational researchers to find ways to use novel pedagogies and approaches to transform the dull learning environments in mathematics classrooms to smart ones.
As an alternative to traditional pedagogies, active learning pedagogies such as games, can be beneficial to students (Nand et al., 2019;Ting et al., 2019). Salen and Zimmerman (2004) succinctly defined games as systems where players engage in an artificial conflict, their actions are defined by rules, and the consequence of playing the game is a quantifiable outcome. The player has an emotional attachment to the outcome, and the results of the activity are negotiable (Juul, 2005). Gamified learning incorporates game elements to enact game-like experiences to accomplish predefined goals which impact positively on learners' motivation (Dichev et al., 2020). Two approaches to introducing games into mathematics classrooms are game-based learning and gamification, both engaging students in playful explorations of mathematical concepts (Aridi & Saad, 2020;Baldeón et al., 2015).
We focused on designing a gamification intervention to transform the learning environment in elementary geometry. First, we conducted a pilot study at one school with Tangrams and origami at Grade 6. Following analysis of pilot data from teachers and students, we reflected on the initial design and refined it using Huang and Soman's (2013) five step model. The research team used group ideation and discussion to produce a list of key game elements and functionalities of the gamification to engage elementary students cognitively and motivate them to succeed (Nand et al., 2019). One key decision was to continue to use unplugged approaches, particularly to appeal to diverse learners (Huang & Looi, 2021) and provide young learners with more concrete experiences (Saxena et al., 2020). Unplugged approaches, which have proliferated in recent times in computational thinking, do not use computers, in other words are not technology-based (Huang & Looi, 2021). As such, this study focuses on gamification of a tangible resourcethe tangram-and is supported by Saxena et al. 's (2020) work that suggest that unplugged resources can aid mastery of cognitive concepts in young children and provide costeffective interventions.
In this non-empirical paper, we present the key decisions and insights that guided designing the intervention for the main study. We begin by examining the relevant literature on geometric thinking and gamification, presenting a conceptual framework of social constructivism and scaffolding, followed by a brief outline of methods. We then present in detail, the application of Huang and Soman's five steps to designing the intervention, ending with conclusions and recommendations.

Geometric thinking at the elementary level
Geometry is an important area of mathematics because it develops students' spatial sense and geometric thinking. The challenges experienced in teaching geometry at elementary level can be related to students' individual cognitive and affective development, and teachers' selection and application of instructional strategies, learning activities and resources aligned with levels of student thinking (Clements, 2004;Jones, 2002). van Hiele's (1999) levels of thinking continue to be valuable in developing geometric thinking and proposes that individuals progress through five levels of geometric thinking from being able to recognise shapes to abstraction of visual images and real models (see Fig. 1). The use of manipulatives during early learning of geometry allows students to  Kamalodeen et al. Smart Learning Environments (2021) 8:36 touch, move, rotate, flip, combine and rearrange shapes and can support their progress through van Hiele's levels (Fuys et al., 1988). Elementary school students' success with geometry requires their teachers to identify at which level they are thinking and design instruction to scaffold their progress from one level to the next, reducing students' reliance on the teacher within the zone of proximal development (ZPD) (Vygotsky, 1978). Progressing through each level requires mastery of previous levels.
van Hiele's (1999) Level 0 (visualisation) is foundational to all levels (Jones, 2002). Van Hiele suggested that students' thinking relies on visual observation for identifying, naming, and recognising shapes without explaining their properties. Students pay attention to how shapes look. For example, students may recognise a rectangle because it resembles a door. They may recognise a square but differentiate it from a rhombus because they have trouble recognising the shape when it is rotated as it does not resonate with their definition of a square. This occurs because of poor conceptual development. At Level 1 (analytical), students can identify, describe, and explain parts and properties of shapes using appropriate language, but cannot yet identify important relationships between properties of different shapes. For example, they can recognise that parallelograms and rectangles have equal and parallel opposite sides, but do not recognise the rectangle as a parallelogram because relationships between concepts are not reinforced. At Level 2 (informal deduction), students can recognise the relationships between shapes and their properties and classify shapes in this way. For example, logical reasoning can be used to explain why a square is a rectangle, but a rectangle is not a square. Students' however have trouble with this due to underdeveloped reasoning skills (Fuys et al., 1988;Salifu et al., 2018;Siew et al., 2013).
The use of manipulatives to support student learning is well documented in the literature (e.g., Boggan et al., 2010;Ojose & Sexton, 2009;Wiersum, 2012). Using manipulatives to help elementary students transition from concrete to the abstract mathematical thinking is also well established (e.g., Moyer, 2001;Sarama & Clements, 2009). Tangrams are useful for developing students' geometric skills (Russell & Bologna, 1982;Siew et al., 2013;Tchoshanov, 2011); its constituent pieces, tans, have both visual and tactile appeal and learners can manipulate them through hands-on experiences. Additionally, tans as unplugged resources, can add to teachers' basket of strategies to promote mental modeling, thus engaging learning in cognitive tasks (Looi et al., 2020). Sarama and Clements (2009) recommend their use in well-planned instructional settings and not just for play. The active manipulation of tans, therefore, can allow for visualization, analysis and deductive reasoning, and developing young learners' spatial sense and geometric thinking.

Gamification for learning mathematics
Gamification offers the use of game design elements in contexts not usually considered as fun and can transform "dry, discouraging school subjects" such as mathematics (Aridi & Saad, 2020, p. 1) into interesting ones. These authors suggest that gamification of geometry with elementary students improved students' achievement levels with sustained engagement in learning. Several gamification initiatives are found in the literature related to elementary mathematics (such Aridi & Saad, 2020; Baldeón et al., 2015;Kimble, 2020) and at other education levels (see Faghihi et al., 2014;Lämsä et al., 2018; Page 5 of 24 Kamalodeen et al. Smart Learning Environments (2021) 8:36 Rincon -Flores et al., 2018;Wiersum, 2012). However, literature on gamification in education contexts often allude to the inconclusive relationship between student engagement and achievement. What is known, however, is that gamification invokes the same physiological experiences as games such as pleasure and fun (Deterding, 2012). Further, a gamified environment transfers social elements of games to learning activities that develop skills such as communication, sharing, goal setting (Landers & Callan, 2011), engagement, interactivity, and problem solving (Kapp, 2012). Pedagogical components of gamification include motivation, engagement, learning, thinking and problem solving thus situating this pedagogical innovation within educational contexts. Like educational games, gamification allows for combining "concentration demanded by challenging activities and the enjoyment experienced when maximally utilizing one's skills" (Hamari et al., 2016, p. 171). If designers build out concepts "in steps" to aid cognitive development (Aridi & Saad, 2020;Faghihi et al., 2014), then challenges within a gamification framework can increase the attractiveness of the learning environment and promote learner engagement (Rincon-Flores et al., 2018). Vygotsky's (1978) ZPD is a process that scaffolds learning from fully supported by an instructor to independent problem-solving; temporary external supports are removed once learning has been achieved (van Geert & Steenbeek, 2005). Cognitive scaffolds guide students through using tools and resources to engage in learning activities, organize their ideas and thoughts, and determine strategies they need for monitoring and evaluating their learning (Hannafin et al., 1999;Stavredes & Herder, 2014). Scaffolding is effective when teachers understand how much of it to apply, when to begin scaffolding and when to disengage, so learning becomes more learner directed (Dabbagh, 2003;Xiang et al., 2014). Motivational scaffolds provide learners with tasks connected to intrinsic motivation (Belland et al., 2013), and are supported by students reflecting on their learning and making necessary adjustments to enhance expectancy for success. Social constructivist theory (Vygotsky, 1978) emphasises the role of social interactions in contributing to learning through joint construction of knowledge and goal accomplishment. Scaffolds deployed during collaborative tasks allow students to interact with each other and their teachers and share skills and knowledge to expand learning boundaries (van Geert, & Steenbeek, 2005). Collaborative learning activities, such as team games, support the learning process (Sumtsova et al., 2018); they can facilitate positive feelings because there is a social responsibility to other members of the group, common goals, and belief in group achievement (Deci & Ryan, 2000). Scaffolding has been applied in gaming environments to teach and reinforce mathematical concepts and skills (e.g., Faghihi et al., 2014;Plass et al., 2015). Hence, gamification that employs scaffolds can increase motivation to learn and promote desired learning behaviours and outcomes.

Gamification and scaffolding
Teachers must move away from traditional teaching to a new teaching approach such as gamification that develop the student's own thinking. This approach, as catered for in our design, can be supported by flexible and dynamic scaffolding which can respond to each student in the social group (Cobb et al., 2012). Teachers can scaffold learning in the ZPD by using appropriate hints and clues as students progress through a lesson (Rouadi, 2014). For students to perform different tasks, teachers can deploy cognitive scaffolds Page 6 of 24 Kamalodeen et al. Smart Learning Environments (2021) 8:36 to expand students' ZPD through questioning, modeling, explaining, instructing, giving hints, and demonstrations, for examples. Motivational scaffolding targets engaging students and maintaining their interest in learning. Teachers should provide tasks that interest students and increase task value (Belland et al., 2013). This occurs by creating an enriching environment through group work, feedback (Miller & Brickman, 2004), student reflection (Moos & Azevedo, 2009), promoting positive emotions (Gross & Thompson, 2006).

Conceptual framework
Scaffolding is useful when learners are exposed to increasingly challenging levels that require mastery to progress (Alsawaier, 2018), and receive prompts and hints that direct them towards a solution path rather than presenting the solution (Fisch, 2005, as cited by Obikwelu et al., 2012). Skill attainment involves a sequence of tasks, feedback, and a way of measuring learner achievement (Patadia, 2016). Scaffolded gamified activities help to actualize the ZPD. Figure 2 illustrates how scaffolds were gradually removed from graduated tasks in this gamification intervention in geometry involving Grade 4 elementary students. It illustrates how scaffolds initially integrated into game tasks, were gradually removed as learners progressed through challenge levels, and from full teacher and peer support to independent practice over time.

Methods
We now present design considerations and rationales for key decisions that were made in each stage of gamification intervention. We used an informed decision-making (IDM) process (Mullen et al., 2006) to gather information from key sources to apprise these decisions. These sources were the relevant research literature, our collective experiences with mathematics teacher preparation for diverse learning contexts, recommendations from the pilot study, followed by collaboration with teachers from schools selected for the intended gamification intervention.

Fig. 2 Conceptual Framework for Gamification Intervention
Page 7 of 24 Kamalodeen et al. Smart Learning Environments (2021) 8:36 IDM is particularly well suited to education (Huffman, 1974;Schildkamp, 2012), as such, we applied the concept to the design of an instructional intervention by considering the key benefits, challenges and limitations, and the learning contexts. The research team met regularly over one year to expand on our initial understanding of gamification and arrive at a common understanding of gamification in the Trinidad and Tobago context. Our research team comprised of university teacher educators with expertise in mathematics instruction, curriculum design and development, project planning, research methods, instructional design and classroom assessment.
The pilot study was an instrumental case study involving 11-year-old students in Grade 6 at a purposefully selected private elementary school in Trinidad and Tobago. We collected and analyzed data from students and teachers in a mixed methods study. We targeted the geometry strand in the Trinidad and Tobago National Primary Mathematics Curriculum (TTNPMC, 2013) intentionally, and focused on reinforcing previously taught geometry concepts and skills through gamified Tangram and Origami puzzles, as unplugged resources. We applied the five steps in Huang and Soman's (2013) gamification model for the pilot study and used insights from findings thereof to gain new understandings for a larger study in multiple schools and diverse contexts. As gamification was new to all of us, we used multiple sources to inform the revised design which we present in this paper.

Designing the gamification intervention
In this section, we describe each step of the 5-steps of Huang and Soman's model in designing the gamification intervention and articulate how our learnings informed our decisions.

STEP 1: Understanding the target audience and the context
It is critical to completely understand the characteristics of the learners and the context of the curriculum, such as "pain points" (Huang & Soman, 2013, p. 8) which are factors that hinder students' progress through the curriculum and achievement of its objectives. Such pain points include learners' age and level of cognitive development, learning environment, sequencing of content, among others. They assist with selecting specific gamification elements to be implemented during the planning process. The pilot study revealed the need to attend more carefully to the first level in the Huang and Soman's (2013) model when designing the games to be a meaningful learning tool, particularly with respect to closer collaboration with the class teacher who brings intimate knowledge about students and the learning environment. Consideration to the target group of students and their prerequisite knowledge and skills in the given learning context are critical to designing tasks that cover the curriculum content, and are sufficiently challenging to keep students interested in playing without frustrating them ([Authors], p. 90).
attend more carefully to the first level in the Huang and Soman's (2013) model when designing the games to be a meaningful learning tool, particularly with respect to closer collaboration with the class teacher who brings intimate knowledge about students and the learning environment. Consideration to the target group of students Page 8 of 24 Kamalodeen et al. Smart Learning Environments (2021) 8:36 and their prerequisite knowledge and skills in the given learning context are critical to designing tasks that cover the curriculum content, and are sufficiently challenging to keep students interested in playing without frustrating them ([Authors], p. 90).
Hence, in the revised gamification design, we were more attentive to the pain points associated with learner characteristics (age and level of geometric thinking) and transforming the school environment to a more engaging one. The pilot study revealed that students responded positively to co-operative activities [Authors]. We wanted to ascertain students' pre-knowledge, the current learning environment, and opportunities for student collaboration and group work. Thus, we engaged teachers in selecting the levelappropriate curriculum content and discussed the challenges we had observed with Grade 6 students experiences in working at Level 2 of van Hiele's geometric thinking during the pilot study. We chose to focus on a younger age group-Grade 4 students -who would have attained competence at Level 1 of van Hiele's (1999) geometric thinking and would now be transitioning to developing Level 2 skills, based on the national curriculum for mathematics (TTNPMC, 2013). We continued to use unplugged resources at this earlier age, based on recommendations by Huang and Looi (2021) and Saxena et al. (2020) and selected tangrams to focus our gamification.
To increase opportunities for student success, we visited the selected schools with diverse learning contexts such as size, government-funded or not and low to high SES, to glean in-depth understandings of their school environments and gather information to inform the planning and design of the gamification intervention. The schools were not at the same level of technology readiness and thus confirmed the decision to use non-digital or unplugged resources. As such we could potentially reach more students "without the distractions of getting the resources and infrastructure for computers" (Looi et al., 2020, p. 4). Thus, we obtained the support of schools' principals, participating teachers, parents and students.
Hence, by the end of Step 1, we gleaned a good understanding of the schools' environments and physical spaces, the age and prerequisite knowledge of students to be engaged, had established working relationships with school personnel, and had decided on the curriculum content to reinforce Level 2 skills. Thus, we leveraged learnings from the pilot on context and learner characteristics which allowed us to move on to the next steps in designing the intervention as all other aspects hinged on this foundation.

STEP 2: Defining learning objectives
The gamification process must be guided by clear learning objectives (Huang & Soman, 2013). Though the TTNPMC (2013) suggests using student-centred pedagogical approaches to improve student motivation, mathematics self-efficacy and performance in the medium to long term, specific strategies to achieve these are not specified. Games are suggested in the Number strand (see TTNPMC, 2013, p. 249) but not the geometry strand, and neither gamification nor game-based learning are mentioned in the document.
In the pilot study ([Authors]), students' responses on the pre-tests and post-tests revealed that while they recognised and classified shapes from their properties, they struggled with: (a) working with shapes when their orientation had changed, (b) applying Page 9 of 24 Kamalodeen et al. Smart Learning Environments (2021) 8:36 the concept of symmetry in working with plane shapes, and (c) applying the principal of conservation of area in problem solving. This suggests that while the students were competent with concepts and skills expected at Level 1 of van Hiele's (1999) levels of thinking, they struggled with those expected at Level 2. Hence, there was a need to support students as they transition from Level 1 (analysis) to Level 2 (informal deduction). Therefore, our refined design focuses on activities that reinforce concepts and scaffold thinking for transitioning to Level 2. We gamified Tangram activities only, because they can develop concepts and skills related to shape identification and spatial relationships expected at Level 2; students in the pilot study reported greater challenges with the complexity and levels of difficulty associated with Tangrams. Our intervention objectives included: 1. Scaffolding to reinforce geometric concepts related to plane shapes to improve spatial sense and geometric thinking. 2. Promoting manipulation of 'tans' to explore the properties and relationships of plane shapes and solve Tangram puzzles. 3. Encouraging the use of imagination to create Tangram puzzles. 4. Facilitating cooperation among peers to solve Tangram puzzles. 5. Facilitating interest, motivation, enjoyment and creativity, in applying geometric thinking.
These general objectives of the design were guided by specific curriculum objectives in the TTNPMC (2013) for Grades K-4 (called Standards 1-5). They focused on developing appropriate concepts, skills and dispositions that "would facilitate life-long learning and higher order thinking skills'' (p. 22). The specific content, skills, disposition objectives and learning outcomes in geometry from the TTNPMC (2013) are listed in Table 1.
Our intervention objectives were also guided by observations of students' challenges with the content, and student and teacher reports from the pilot study which indicated that enjoyment and cooperation were motivational dimensions which enhanced engagement with the gamified activities ([Authors]).
By the end of Step 2, we had clearly identified the specific learning objectives and outcomes in geometry for the selected group of students in the main study. This allowed us to focus on structuring the learning experiences for students to achieve these stated objectives.

Elaborations
Investigate the effects of changing the orientation of a shape by first measuring the shape and then changing its orientation and then measuring again (p. 182) Page 10 of 24 Kamalodeen et al. Smart Learning Environments (2021)

STEP 3: Structuring the experience
It is important to break up educational programmes into stages, with each stage having a desirable milestone (Huang & Soman, 2013). Stages help chunk programme objectives into manageable deliverables. Milestones help with evaluating what students have learnt and mastered and motivate students to move on to the next phase. Milestones should be easily achievable initially and then increase in demand and complexity as students' progress through the programme stages. Educators must reflect on each stage and milestone during planning for effective gamification.
In the pilot study, students reported that some of the tangram activities were too complex and challenging, some shapes were difficult to construct, and they needed more instructions that were easier to understand ([Author]). To address these observations, we chunked the learning material into graduated stages in the new design, which we referred to as challenge levels. This approach would scaffold students' transition from Level 1 to Level 2 of van Hiele's (1999) geometric thinking. We noted that we had not oriented these students to the set of tans comprising the tangram or allowed play with the tans ahead of using them for learning tasks. This may have contributed to the challenges students reported about completing Tangram puzzles. Hence, we developed six stages that started with a pre-activity followed by five challenge levels that increased in difficulty and complexity. Every stage was designed with increasing complexity to scaffold students' transition through the levels of thinking. Each level targeted specific objectives aligned to those in the TTNPMC (2013). Tangram manipulation allowed teachers to use visualization and manipulation for exploring practical problems on all the five challenge levels, to reinforce the properties of plane shapes and their relationships with each other for developing deductive reasoning (Siew et al., 2013). Tangram activities were sourced from Tangram Blackline Masters (1994) which gives free reproduction rights to educators (p. ii).

Stage 1: Pre-activity
The pre-activity was a non-competitive level that introduced students to the Tangram (see Fig. 3). Students would investigate the properties of the Tangram pieces and make decisions about how to manipulate specific pairs of tans to cover the surface area of Page 11 of 24 Kamalodeen et al. Smart Learning Environments (2021) 8:36 different shapes and form compound shapes without overlapping tans. These activities were scaffolded, offering students explicit instructions about which tans to use to complete the activities. They would use a pencil to trace the perimeter of the tans to preserve their shapes once the tans were removed; this instruction would hold for all subsequent levels. This pre-activity was critical to establishing the foundation for the challenge levels that followed and reinforced the TTNPMC (2013) content objectives 2.1.4, 2.1.5, 2.1.6, skill 2.2.7, disposition 2.3.2, and learning outcome 3. The milestone at this stage was students' ability to successfully manipulate pairs of tans to create shapes.

Stage 2: Challenge level 1
Students would initially manipulate four specific tans to cover the surface of given compound shapes, and then identify any other combination of tans that would cover the same shape (see Fig. 4). This activity provided students with explicit instructions about which tans to use to cover the shape. It would probe their understanding of the properties of and relationships among these tans and decisions they made about manipulating them. It also reinforces the principle of conservation of area by allowing them to cover the surface area of a compound shape with different combinations of plane shapes in different orientations. In the pilot study, students reported difficulty with creating Tangram puzzles using all seven tans ([Authors]), which suggests that students needed to first manipulate fewer tans and progress to more complex Tangram puzzles with more tans. This level attended to reinforcing TTNPMC (2013)   Page 12 of 24 Kamalodeen et al. Smart Learning Environments (2021) 8:36 in this level is that students would move from manipulating two tans to four tans to cover a compound shape.

Stage 3: Challenge level 2
Students would select and manipulate any three tans to cover the surface area of compound shapes (see Fig. 5). The activity further probed their deductive reasoning and decision-making skills while manipulating tans. Lifting the restriction of using specific tans removes scaffolds (specific instructions) and gradually increases the cognitive demand on students. This will allow them more flexibility in problem solving and reinforce the same TTNPMC (2013) content as Challenge Level 1. The milestone in this level is that students can successfully complete the challenge using any three tans to cover compound shapes.

Stage 4: Challenge level 3
Students would manipulate combinations of three, four or five tans to cover a given compound shape (see Fig. 6). This activity increased the number of tans to be used from three to five. We increased the cognitive demand by removing more scaffolds and allowing students to be creative in their decision making as they progressively used more tans in solving Tangram puzzles. This level reinforced the same TTNPMC (2013) content as Challenge Level 2 and introduced disposition objective 2.3.3 relating to confidence in exploring plane shapes. The milestone in this challenge is that students could use informal deduction to make decisions about covering a more complex compound shape than Page 14 of 24 Kamalodeen et al. Smart Learning Environments (2021) 8:36 in previous levels, with no restriction on which tans could be used, only on the number of tans.

Stage 5: Challenge level 4
Students would be required to use all seven tans to cover the surface of a well-known Tangram puzzle (see Fig. 7). We designed this challenge to allow students to demonstrate their understanding of the properties of plane shapes, their relationship to each other, and use their developing spatial sense and geometric thinking to manipulate tans to cover the shape. This level reinforced the same TTNPMC (2013) content as Challenge Level 3. The milestone in this challenge is that students would rely on deductive reasoning to complete the task without any scaffolds that were previously provided.

Stage 6: Challenge level 5
Students would use all seven tans to create their own Tangram puzzle for their peers to solve (see Fig. 8). We decided to provide students with the opportunity to be creative in designing and naming a Tangram puzzle. We thought this approach would contribute to students' enjoyment if they could see their creations on display and challenge other students to complete a puzzle that they created themselves. This level reinforced the same TTNPMC (2013) content as Challenge Level 4. The milestone here is that students would demonstrate their understanding of the properties of the tans to design a unique shape. Page 15 of 24 Kamalodeen et al. Smart Learning Environments (2021) 8:36 By the end of Step 3, informed by learnings from the pilot we included a pre-activity to orient students, and chunked the curriculum content into smaller tasks to provide students with the experience of gradually moving from working fewer tans to a full set of seven tans. They would move from simple to more complex Tangram puzzles as scaffolds are removed. This step allowed us to identify the resources required for each Challenge Level.

STEP 4: Identifying resources
Identifying resources is a critical stage in the gamification process for successful implementation (Huang & Soman, 2013). First, we developed the implementation procedure for teachers, which is elaborated below. We then sourced and produced the required resources for the gamification design in the five schools. This approach is an important step following the pilot study that involved only one school. It facilitates standardisation and coordination of processes across the schools and minimises possible variations in implementation procedures that may contribute to differences between expected and observed outcome (McBryde et al., 2004).

Resources for the gamification
We produced a resource kit with seven items. Each of the five participating schools would receive one kit per classroom. Kits comprised: 1. One Tangram set (7 pieces) per student made from Bristol board and stored in small Ziploc bags 2. A leader board made from Bristol board to record groups' scores as they progress through the Challenge Levels (see Fig. 9) 3. A discussion board made from Bristol board and 3 cm x 3 cm Post-it notes to record hints for other groups that need assistance (see Fig. 10) 4. Colour-coded folders for each stage in Step 3 that contained: Page 17 of 24 Kamalodeen et al. Smart Learning Environments (2021) 8:36 a. Individual activity tan sheets (colour-coded to match folders) for students to work with in group challenges. b. Teacher checklist for group challenge activity to allow the teacher to monitor and track student engagement and participation in group activities (see Fig. 11). c.
Student self-evaluation sheet per challenge level to allow students to reflect on their learning and progress as they moved through each Challenge Level (see Fig. 12).
5. Pencils, markers, glue, tape, sheets of glitter stars. 6. Implementation procedure to guide the teachers implementing the gamification design. 7. Envelopes containing the pre-tests and post-tests for teachers to administer to students.
1. The teacher administers the pre-test to all students. 2. The teacher organises students into groups of three or four and distributes to each group member, a set of tans, challenge sheets, and self-evaluation sheets. Groups receive Post It notes, pencils, markers, and glue. 3. The teacher places the leader board and discussion board on a wall for all students to access freely and to provide transparency to the process. The teacher records groups' names on the leader board. 4. The teacher introduces students to a gamified vocabulary (e.g., hints, leader board, badges, challenge, and stars) and discusses gamification instructions with students. 5. The teacher guides students through the pre-activity. 6. The teacher begins the competition, monitors groups and records their scores on the leader board. 7. A challenge level is completed when the teacher verifies the solution through visual inspection of students' work. Each Challenge Level earns a maximum score upon completion (see Table 2). The overall maximum possible score is 30. Penalties are not applied to limit interfering with student motivation. 8. When a group completes a challenge, members can post a hint, comment, or guiding question on the discussion board to assist other groups. Groups' contributions are assessed by the teacher using a rubric (see Table 3) and recorded on the leader board. Points are awarded based on the quality of the contribution and ranged from 0 (low quality) to 5 (high quality). A group's total score is the sum of these points plus points from Challenge Levels. 9. At the end of each Challenge Level the teacher completes the checklist and students fill in the self-evaluation sheets. 10. .The game ends when all groups have completed all challenge levels. Teams are awarded stars based on the order of correct completion of each challenge level. The teacher totals the scores and announces the winning group. 11. .The teacher administers the post-test.   Kamalodeen et al. Smart Learning Environments (2021) 8:36 By the end of Step 4, we had identified, sourced and created the resources for each stage and Challenge Level described in Step 3, including detailed guidelines and instructions for teachers, resources for students and for documenting students' participation and progress. We built on and refined the wording of the guidelines, instructions and resources used in the pilot study, based on observations of improvements needed. This step would minimise discrepancies in subsequent gamification implementation across schools. It also allowed us to apply appropriate gamification elements in the next step. Huang and Soman (2013) suggest that it is the education program that guides the decisions and refinement of gamification elements. It is important that two classes of elements, self-elements, and social elements, are addressed. Cognitive and motivational scaffolding can promote self-elements and social elements in gamification challenges. Huang and Soman gave examples of self-elements as "points, achievement badges, levels, or simply time restrictions" (p. 13). This type of gamification element places emphasis on individual progress and self-achievement. Self-elements are closely related to the social elements. Social elements relate to how groups compete, interact, and cooperate within the community. An example of this type of gamification element is the use of leader boards. This tool assists with charting and publicizing groups' progress and achievement. Both self and social elements have a unique purpose; hence, it is important for the success of the gamified activities to carefully plan when each type of element is used. Self-elements are used for more challenging tasks, so as not to demotivate students, but rather amplify students' personal achievement. The social elements are used to motivate students as a group or community to move on together, to the next or higher levels. Consequently, our design incorporated both types of gamification elements.

STEP 5: Applying gamification elements
Our learning from the pilot study highlighted how social elements enabled a sense of cooperation through social interaction within the competitive environment of a gamified classroom ([Authors]). Cooperation and competition are aspects of gamification that facilitate students working together towards goal achievement which embraces "the winning state of cooperative gamification" (Kapp, 2014, para.2). Thus, in designing this study, we decided to amplify social elements through cooperation by including opportunities for meaningful dialogue and student interaction within and among teams. Within teams, students can assist each other through scaffolded activities to complete Challenge Levels successfully (Obikwelu et al., 2012). Collaborative student interactions can produce gains in knowledge, practical, and social skills as students engage in the learning process (Parga, 2011). The social elements are emphasized by displaying team points on the leader board after successive Challenge Levels, and through the discussion board where hints can be placed to assist other teams. In Step 1 of the gamification process, we collaborated with teachers to facilitate creating supportive learning environments in their respective schools. They would monitor teams' progress using the observation checklist provided to ensure they complete each level before progressing to the next.
We attended to the self-elements by planning Challenge Levels that were graded by difficulty and scaffolded through peer collaboration, and using points, rewards, ranks Page 20 of 24 Kamalodeen et al. Smart Learning Environments (2021) 8:36 and levels for motivation and engagement (Pesare et al., 2016) creating a sense of accomplishment. Through the years there has been continuous debate whether extrinsic rewards lower intrinsic motivation (Alsawaier, 2018;Deci et al., 2001), but gamification designers can mitigate this risk by including motivational scaffolding for student emotions. The self-element can be developed by identifying challenges, providing opportunities for improvement, celebrating successful outcomes, and peer support in solving given tasks. Self-evaluation is a key component for social constructivism and motivation (Shepard, 2001). Students can use self-evaluation to positively influence the self-element. Self-evaluation aims to develop learners' skills, competencies, and responsibility for their own learning. Students can identify gaps in their knowledge, and skills that require more practice. In our gamification design, we planned to provide the students with tools for self-monitoring by including self-evaluation sheets. This gamification design is supported by Hamari et al. (2016) who suggest that offering activities that are within the learners' ZPD, challenges them within an appropriate skill level, thus maximizing engagement. In this design, the focus is on peers collaborating at different levels of difficulties, rather than the teacher aiding individual students, through skilful cognitive scaffolding to execute the learning task more effectively. Thus, by the end of this step, we drew on the findings of the pilot study that supported teamwork and collaboration, which was also a desired disposition of the TTNPMC (2013).

Conclusions and recommendations
This paper presents our insights on designing a gamification intervention for enhancing the mathematics learning environment for elementary students to attain mastering of geometry. Thus, our gamification design seeks to transform the dull learning environment to a smart one, by engaging learners actively (Pesare et al., 2016). We incorporated cognitive and motivational scaffolding strategies to build students' confidence in geometry, through collaborative interactions that facilitate student satisfaction and enjoyment (Baldeón et al., 2015) as they work towards goal achievement. The increasing complexity of challenge levels used a fading technique from team collaboration to independent practice to support students' success (Obikwelu et al., 2012). Designing the intervention required using our insights from a pilot study, and flexible thinking to implement gamification, an emerging pedagogical approach, using Huang and Soman's (2013) gamification model in our educational context. This paper bridges theory and practice on gamification by providing insights into how social constructivism, specifically Vygotsky's (1978) ZPD and van Hiele's levels of geometric thinking support the design of an intervention. Our gamification design clearly targeted national mathematics curriculum objectives even though gamification is not specified as a learning strategy in the geometry strand of the TTNPMC (2013). Hence, curriculum developers should intentionally include gamification as a strategy in geometry and other strands in the curriculum.
This paper highlights the use of unplugged activities so that teachers across any school context can use gamification to improve cognitive and motivational engagement in learning geometry. We considered the scalability of the intervention and used an unplugged geometrical resource-the tangram-to broaden access to a wide range of learners (Huang & Looi, 2021), and of a young age (Saxena et al., 2020). Teachers should Page 21 of 24 Kamalodeen et al. Smart Learning Environments (2021) 8:36 not be afraid to enhance learning environments with gamification (Erenli, 2013) and this paper illustrates one approach which teachers can leverage. The accessibility of our design can assist even a reluctant teacher to gamify learning environments. It takes time and effort to design these activities and many teachers may feel burdened to do this on their own (Looi et al, 2020). Our work can reduce the disconnect between classroom instruction and educational research to improve teaching and learning (Clements et al., 1997), while paying attention to learner characteristics (Smiderle et al., 2020).
In moving forward, we invite educators across diverse learning contexts to implement this intervention to contribute rich and varied experiences to further enhance the design. We recommend that educators be open minded about embracing gamification that can bring joy and learning. Gamification is not interchangeable with play or even games, though both have utility in children's learning. We have learnt that designing a gamification intervention requires a great deal of time in planning and game elements need to be incorporated purposefully. Balancing internal and external motivation factors for young children remain an area for future research and gamification continues to hold the attention of educational researchers who seek better models for enhanced learning environments.
Abbreviations TTNPMC: Trinidad and Tobago National Primary Mathematics Curriculum; SEA: Secondary Entrance Assessment examination; ZPD: Zone of proximal development; IDM: Informed decision making.