Gu J.H.Chen S.C.Hui L.Thaipisutikul T.Hung H.S.Du H.Yeh C.C.Mahidol University2026-02-062026-02-062026-01-01Communications in Computer and Information Science Vol.2379 CCIS (2026) , 283-29518650929https://repository.li.mahidol.ac.th/handle/123456789/114373This study designed an immersive learning game for JavaScript programming, incorporating ChatGPT-based AI as a virtual assistant using scaffolding theory. The assistant provides interactive guidance, helping learners solve problems step by step. The study involved 41 non-IT undergraduate and graduate students to evaluate the model’s effects on learning performance, motivation, flow state, anxiety, and emotional state. Results showed significant improvements in learning outcomes, motivation, and flow state. However, improvements are needed in assistant accuracy, interface clarity, and extended learning support.MathematicsComputer ScienceEvaluating Design Strategies for AI Virtual Teaching Assistants and Immersive Learning Scaffolding in Programmed Teaching GamesConference PaperSCOPUS10.1007/978-981-96-6294-4_212-s2.0-10501197247218650937