Due to the rapid progress of information technology in recent years, the development of the software industry has become an important and crucial element. Past studies have confirmed that program design teaching is conducive to helping learners resolve problems, thus indicating the importance of program design teaching. However, it was found in the educational field that most learners find it difficult to engage in formation learning in computer classes, as they are keen on only digital game play. Hence, the researcher provided guidance in switching roles from digital game players into the digital game designers through the learners' class behavior in digital games. The experimental subjects consisted of 97 third year junior high school students taught by the researcher. The 14- week Scratch Program teaching was implemented. Through quantitative and semi-structural interviews, data was collected to explore the self-efficacy and learning effectiveness of the learners in the program design learning. The results showed that the learners' Scratch learning achievements significantly improved in the pretest and post-test. At the same time, their self-efficacy and learning achievement manifested a correlation.