A computer programming course is a great way to foster students’ ability in critical thinking and logical thinking. Computer programming skill enables students to build applications using their creativity, and scaffolding strategy helps lecturers to guide students by providing appropriate support. In this study, we proposed a learning activity that combines scaffolding strategy with a real-time assessment programming tool to develop a VR-based game application. During the process of building the VR-based game, the developing logs are collected and analyzed and the error type is sent to the lecturer so that the lecturer is able to provide instant support to the students. After the project, we validated the project results and evaluated the effectiveness of the proposed learning activity by a survey. The survey results indicate that the proposed learning activity is helpful and useful. The experiment results are discussed at the end of the paper.