Abstract
Learning computer programming can be difficult at times. Then, we have proposed and developed a Trading card game (TCG) style, supported by a narrative mode of a thought expresser, can be used as a tool to support learning of a beginner of programming skills. In this study, several concepts of programming languages, such as variables, calculations, and control structures, have been developed in a programming environment with a TCG-like interface that can generate the source code for Arduino. Unreal Engine 4 was used to develop the environment. All programs in the built-in examples section of Arduino can be generated by the system with concept of variables, calculations, and control structures. An Arduino Uno R3 board can be programmed in the developed environment, without using a standard Arduino integrated development environment (IDE) or an official Arduino Web Editor.