TY - GEN
T1 - An Implementation of Comment Insertion Problem for Game Programming Study in Python Programming Learning Assistant System
AU - Fujiwara, Haruya
AU - Funabiki, Nobuo
AU - Kao, Wen Chung
AU - Lee, Yi Fang
N1 - Publisher Copyright:
© 2025 IEEE.
PY - 2025
Y1 - 2025
N2 - Nowadays, Python programming has become an essential subject in universities and vocational schools because of its numerous advantages of rich libraries, short coding, and simple structure. Python has been widely adopted in various applications including AI, web systems, and games. Unfortunately, due to limitations in curriculum and teachers, Python programming courses are not sufficiently offered in schools, which will make an efficient self-study tool be in strong demands. Python programming learning assistant system (PyPLAS) has been developed to assist step-by-step self-learning of novice students, offering several types of exercise problems that have different learning goals. However, PyPLAS does not support game programming by Python, although it is suitable to study both logic programming and graphical user interface (GUI) programming at the same time. In this paper, we implement a comment insertion problem (CIP) for game programming study using Pygame library in PyPLAS. A CIP instance asks to fill in each blank in the source code for a game by selecting the proper comment among the given candidates. It is designed for novices to understand the structure of a game code composed of logics and GUI procedures. As a preliminary evaluation, we generated two CIP instances using simple game codes and assigned them to students in our laboratory. The questionnaire result confirmed the effectiveness.
AB - Nowadays, Python programming has become an essential subject in universities and vocational schools because of its numerous advantages of rich libraries, short coding, and simple structure. Python has been widely adopted in various applications including AI, web systems, and games. Unfortunately, due to limitations in curriculum and teachers, Python programming courses are not sufficiently offered in schools, which will make an efficient self-study tool be in strong demands. Python programming learning assistant system (PyPLAS) has been developed to assist step-by-step self-learning of novice students, offering several types of exercise problems that have different learning goals. However, PyPLAS does not support game programming by Python, although it is suitable to study both logic programming and graphical user interface (GUI) programming at the same time. In this paper, we implement a comment insertion problem (CIP) for game programming study using Pygame library in PyPLAS. A CIP instance asks to fill in each blank in the source code for a game by selecting the proper comment among the given candidates. It is designed for novices to understand the structure of a game code composed of logics and GUI procedures. As a preliminary evaluation, we generated two CIP instances using simple game codes and assigned them to students in our laboratory. The questionnaire result confirmed the effectiveness.
UR - https://www.scopus.com/pages/publications/105022413941
UR - https://www.scopus.com/pages/publications/105022413941#tab=citedBy
U2 - 10.1109/ICCE-Taiwan66881.2025.11207889
DO - 10.1109/ICCE-Taiwan66881.2025.11207889
M3 - Conference contribution
AN - SCOPUS:105022413941
T3 - ICCE-Taiwan 2025 - 12th IEEE International Conference on Consumer Electronics - Taiwan: Generative AI in Innovative Consumer Technology, Proceedings
SP - 285
EP - 286
BT - ICCE-Taiwan 2025 - 12th IEEE International Conference on Consumer Electronics - Taiwan
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 12th IEEE International Conference on Consumer Electronics - Taiwan, ICCE-Taiwan 2025
Y2 - 16 July 2025 through 18 July 2025
ER -