Linting and Hints in Candli
Bringing Linting and Adaptive Program Completion to Candli, a Visual Game Programming Environment for Children
DOI:
https://doi.org/10.21240/constr/2025/72.XKeywords:
Adaptive Learning, Visual Programming, Game-Based Education, Constructionist LearningAbstract
Candli is a web-based educational game creation app in which children acquire STEAM skills by creating video games based on their own drawings. Candli allows children to program games using an accessible visual programming language inspired by established research traditions such as Scratch and Thymio VPL. While such languages are highly expressive, enabling rapid creation of dynamic and engaging agent behaviors, this very efficiency can pose challenges in classroom settings. In particular, children often encounter non-trivial problems quickly, leading to teacher overload and hindering learning. To mitigate this issue, Candli integrates technical scaffolding features designed to support children’s autonomous learning. In this workshop, we explore two such features: linting and adaptive program completion hints. The linting feature draws inspiration from software engineering practices, providing immediate feedback to students about potential errors in their code – a feature rarely utilized in educational contexts. Adaptive program completion hints employ classical AI reasoning to incrementally guide students based on their existing code structure. This method involves comparing the current student code with predefined Prolog-like solution rules and suggesting minimal, targeted corrections that do not compromise other program functionalities. These features assist learners in developing accurate notional machines for understanding code execution while preserving opportunities for free exploration and playful tinkering. Collectively, these tools offer a concrete realization of constructionist learning principles.References
Chatain, J., Bitter, O., Fayolle, V., Sumner, R., & Magnenat, S. (2019). A Creative Game Design and Programming App. In Proceedings of the 12th ACM SIGGRAPH Conference on Motion, Interaction and Games. ACM.
Resnick, M., Maloney, J., Monroy-Hernández, A., Rusk, N., Eastmond, E., Brennan, K., Millner, A., Sonenbaum, E., Silver, J., Silverman, B., & Kafai, Y. (2009). Scratch: programming for all. Communications of the ACM, 52(11), 60-67.
Shin, J., Siegwart, R., & Magnenat, S. (2014). Visual programming language for Thymio II robot. In Conference on interaction design and children (IDC’14). ETH Zürich.
Juha, S. (2013). Notional machines and introductory programming education. ACM Trans. Comput. Educ, 13(2), 1-31.
Downloads
Published
Conference Proceedings Volume
Section
License
Copyright (c) 2025 Stéphane Magnenat

This work is licensed under a Creative Commons Attribution 4.0 International License.