International Conference
inproceedings
Development of a 2D Dungeon-Crawling RPG Game For Facilitating C Language Comprehension through Debugger Integration
  • No URL available
Abstract

Programming beginners often choose to learn the C language as their first programming language. Through learning C, they acquire fundamental programming concepts and problem-solving skills. However, understanding C programs is often challenging for beginners due to the language’s low-level features and syntactic complexity. Therefore, effective approaches are needed to support learners’ understanding and engagement. Gamification is one such approach that helps learners understand target concepts and sustain learning motivation by incorporating game elements. This paper proposes a 2D dungeon-crawling RPG game, familiar to many Japanese programming beginners, to gamify learning of the C language. The game generates dungeon maps based on input C source code. The dungeon game covers various C language constructs, including four types of variables (scalar, array, struct, and pointer), expressions, return statements, conditional statements, loop statements, and functions. The game is synchronized with the LLDB debugger to reflect results of step-by-step execution of C programs and to control execution. In addition, a rollback function for step execution is implemented to enhance the learning experience. Following development, we conducted 30-minute test play sessions with several information science students. Their reviews and opinions were collected to evaluate the usefulness of the game for understanding the structure of C programs.
Files

No files available
BibTeX

Copyright © 2025 omzn.aquatan.net a.k.a. Osamu Mizuno All rights reserved.

The publications displayed in this list is related to SEL@KIT members only.