Gamification for Learning Java Programming: Design and Implementation of Java Realm
DOI:
https://doi.org/10.34190/ecgbl.20.2.5425Keywords:
Gamification, Java Programming, Education, Design Science Research (DSR), Web-based Application, Educational TechnologyAbstract
The emergence of gamification, which is the use of game-design elements and mechanics in non-game contexts, offers a promising alternative to traditional teaching and learning. Teaching and learning Java, one of the most commonly used programming languages, presents a steep learning curve due to its strict syntax and abstract concepts, often leading to cognitive overload and demotivation among novice programmers. Despite Java's enduring importance and numerous attempts at reform, undergraduate students continue to experience high levels of disengagement, difficulty, and limited knowledge retention in programming modules. Conventional teaching and learning methods, such as textbooks and traditional lectures, fail to keep students interested, resulting in frustration and poor learning performance. Gamification can help learners improve knowledge acquisition and problem-solving abilities in the context of programming education. The interactive mode of gamification helps students to understand and retain information. This exploratory study investigates how gamification can be leveraged to address the challenges of learning Java programming, by designing and developing a web-based learning application tailored to the needs of IT students. Adopting a design science research (DSR) methodology, the study followed a rigorous cycle of problem identification, objective definition, design, development, and design validation. Data were collected from 20 participants through quantitative questionnaires and six participants through qualitative focus groups to identify user needs and design requirements. The evaluation confirms that JavaRealm successfully translates user-identified requirements into a functional software artefact aligned with learner preferences. Key findings from this exploratory study indicate strong preference for immediate feedback (95% agreement, 19/20 participants, M = 4.80, SD = 0.52), professional-grade tools simulating Visual Studio Code, and flexible social features with opt-in leaderboards to accommodate diverse competition preferences. The findings reveal that heterogeneous learner preferences, particularly regarding competitive elements require flexible design rather than uniform implementation. The study develops a practical design blueprint for implementing gamification in complex cognitive domains, demonstrating through user-centred design that effective gamification should prioritise scaffolding, authenticity, structured progression, and user autonomy over simple points and badges. This paper concludes at the design validation phase; summative evaluation measuring actual learning outcomes and competency gains remains essential future work. The blueprint provided herein can guide future large-scale empirical validation of gamification in complex cognitive domains.