Making the abstract concrete in object-oriented programming through use of a serious game with narrative and visualization

Authors

  • Rolando Gonzalez Kristiania University of Applied Sciences
  • Bogdan Marculescu Kristiania University of Applied Sciences
  • Marcus Alexander Dahl Kristiania University of Applied Sciences
  • Omid Mirmotahari Universitetet i Oslo (UiO)

DOI:

https://doi.org/10.5324/th4wh495

Keywords:

Higher Education, Serious Game, Gamification, Visualization, Object Oriented Programming, Notional Machines

Abstract

Object-oriented programming (OOP) is central to computing curricula, but students have difficulty grasping its more abstract aspects. A key reason is that the runtime behavior of an OOP program is hidden: in a conventional development environment, students see code and console output, but not the objects, references, and state changes they are asked to reason about. This study examines a proof-of-concept serious game in which first-year students write Java code within a narrative, and in which the resulting objects, their properties, and the relationships between them are made directly observable. Rather than measuring learning gains, we ask how this observability shapes the way students reason about abstract OOP concepts. The prototype was evaluated with 23 participants -- four individual in-depth interviews in June 2023 and three focus groups with 19 participants in May 2024 -- and the material was analyzed thematically. Participants used the visual representation to connect the execution of a line of code with the creation of an object and with subsequent changes to its state, and the narrative supplied a domain vocabulary through which they discussed and reasoned about those operations. The findings suggest that making object creation, state, and relationships observable can reveal discrepancies in students' mental models that remain hidden in conventional programming environments.

Downloads

Download data is not yet available.

Downloads

Published

2026-11-23

How to Cite

[1]
Gonzalez, R. et al. 2026. Making the abstract concrete in object-oriented programming through use of a serious game with narrative and visualization. NIKT Journal. 38, 4 (Nov. 2026). DOI:https://doi.org/10.5324/th4wh495.