Programming education continues to face challenges related to learner engagement, cognitive overload, and insufficient structured scaffolding, particularly in introductory courses. While gamification, escape-room-based learning, horror-themed immersive design, and adaptive educational systems have individually demonstrated potential to enhance motivation and mastery, existing platforms often address these components in isolation. The integration of immersive narrative engagement, structured pedagogical sequencing, and scalable backend architecture within a unified programming education framework remains underexplored. This paper introduces Coding Carnival, a modular, multi-language, web-based escape-room platform designed to teach programming concepts across Python, Java, and SQL domains. The system implements a structured instructional pipeline comprising concept explanation, worked example, and applied puzzle to ensure progression from comprehension to independent problem-solving. A relational database and RESTful API-based backend facilitate dynamic puzzle retrieval, server-side validation, and scalable content management. The platform features an immersive carnival-themed interface and a persistent in-game guidance agent that provides contextual hints to support learner progression. The development process followed a staged implementation and validation methodology, including frontend–backend integration, database schema design, functional testing, and system reliability verification. Results demonstrate successful dynamic content delivery, architectural modularity, and consistent performance across integrated puzzles. The proposed framework contributes a scalable escape-room-based programming education architecture that synthesizes immersive design, structured pedagogy, and modular system implementation. Future work will focus on empirical evaluation of learning outcomes and integration of adaptive learning mechanisms to enhance personalization and instructional effectiveness.
Introduction
The text describes the development of an educational programming platform called Coding Carnival, designed to improve engagement and learning outcomes in introductory programming courses through a gamified escape-room approach.
It begins by explaining that traditional programming education often suffers from low engagement, cognitive overload, and high dropout rates. While gamification, escape-room learning, and adaptive tutoring systems have shown promise individually, they are rarely integrated into a single scalable and structured system. The proposed solution addresses this gap by combining immersive storytelling, structured pedagogy, and a modular backend system.
The Coding Carnival system is a web-based platform that teaches programming (Python, Java, and SQL) using a structured learning flow: concept explanation → worked example → puzzle solving. It uses a carnival-themed escape room interface where learners progress through levels, receive hints from an in-game guide (Casper), and solve programming challenges.
Technically, the system is built using HTML, CSS, JavaScript, Node.js, Express, and SQLite, with a REST API enabling dynamic puzzle delivery and answer validation. A database stores structured learning content, including tutorials, examples, hints, and difficulty levels for 100 puzzles. The frontend and backend are fully integrated using API calls, replacing static content with dynamic retrieval.
The development followed step-by-step stages: system design, UI creation, backend and database development, integration, and testing using tools like Postman. Testing confirmed that the system works reliably, supports scalable content delivery, and provides correct feedback and progression tracking.
Conclusion
This study addressed the need for a scalable and engaging framework for programming education by integrating escape-room-based gamification with structured pedagogical sequencing and modular backend architecture. Existing systems often treat immersive design, adaptive learning, and scalable content management as separate components. The objective of this work was to design and implement a unified, multi-language platform that combines structured instructional flow with immersive engagement mechanisms.
The proposed Coding Carnival platform incorporates a tutorial–example–puzzle pipeline to promote conceptual clarity and independent problem-solving across Python, Java, and SQL domains. A relational database and API-driven backend enable dynamic puzzle retrieval, server-side validation, and scalable content management. The inclusion of a guided narrative agent provides contextual scaffolding within an immersive environment, aligning engagement with instructional objectives.
The implementation results confirm the reliability, modularity, and extensibility of the system architecture.
Future work will focus on integrating adaptive learning mechanisms to personalize puzzle difficulty based on user performance, incorporating AI-driven hint generation, and developing learning analytics modules to track learner progress. The platform can also be expanded to include additional programming domains and collaborative gameplay features, while cloud-based deployment would enable broader accessibility and scalability for educational use.
References
[1] A. Kumar, S. Sharma, and R. Gupta, “A research on improvements in horror game development,” International Journal of Game Design and Technology, vol. 12, no. 3, pp. 145–158, 2023.
[2] N. Humble, P. Mozelius, and L. Sällvin, “You can’t escape learning, but maybe you can get out of the room! Game-based learning for programming education,” in Proc. Int. Conf. Interactive Collaborative Learning, 2021, pp. 234–241.
[3] Z. Zhang, “Analysis of the design aesthetics and player emotions of horror games,” Journal of Game Studies and Design, vol. 8, no. 2, pp. 67–79, 2022.
[4] L. Na Nongkhai, J. Wang, and T. Mendori, “Development and evaluation of adaptive learning support system based on ontology of multiple programming languages,” Education Sciences, vol. 15, no. 6, p. 724, 2025.
[5] L. Karvovskaya, J. Yeomans, and E. Rodenburg, “The data horror escape room game as a successful tool for RDM education and engagement,” Liber Quarterly, vol. 35, no. 1, pp. 1–29, 2025.
[6] H. M. M. Ahmed, H. A. El-Sabagh, and D. Elbourhamy, “Effect of gamified, mobile, cloud-based learning management system (GMCLMS) on student engagement and achievement,” Journal of Educational Technology Systems, vol. 54, no. 1, pp. 89–105, 2025.
[7] J. López-Belmonte, A. Segura-Robles, A. Fuentes-Cabrera, and M. E. Parra-González, “Evaluating activation and absence of negative effect: Gamification and escape rooms for learning,” Computers & Education, vol. 146, p. 131-161, 2020.
[8] M. Kwak, J. Jenkins, and J. Kim, “Adaptive programming language learning system based on generative AI,” Issues in Information Systems, vol. 24, no. 3, pp. 222–231, 2023.
[9] R. Queirós, C. Pinto, M. Cruz, and D. Mascarenhas, “A gamified educational escape rooms’ framework for computer programming classes,” IEEE Access, vol. 11, pp. 872–885, 2023.
[10] M. Pinto and T. Terroso, “Learning computer programming: A gamified approach,” Education and Information Technologies, vol. 27, no. 4, pp. 123–140, 2022.
[11] M. Videnovik, T. Vold, L. Kiønig, A. Madevska Bogdanova, and V. Trajkovik, “Game-based learning in computer science education: A scoping literature review,” International Journal of STEM Education, vol. 10, no. 54, pp. 23–40, 2023.