Gamification has emerged as a promising strategy for engaging students and enhancing learning outcomes across various disciplines, including education. It involves incorporating game-like elements into non-game contexts to motivate and engage users. Extensive research has demonstrated the positive impact of gamification on student engagement, motivation, and learning outcomes in diverse subjects, including mathematics. Nevertheless, there is a paucity of research on the effectiveness of gamification in mathematics education. To bridge this gap, we investigated the effects of gamification in college mathematics education, with a specific emphasis on students from liberal arts backgrounds who may lack foundational mathematical knowledge. In this work, we designed and implemented a gamified mathematics course tailored for liberal arts students in a Korean university. Leveraging digital twin technology for game and gamification, we created an immersive learning environment that allows students to visualize mathematical concepts through games, pair gamification factors on physical and virtual worlds, and engage in interactive problem-solving activities. The effectiveness of this gamified course in improving students’ engagement, motivation, and learning outcomes was thoroughly evaluated. Digital twin technology, in conjunction with gamification, holds immense potential to revolutionize the way mathematics is taught and learned, making it more accessible, interactive, and engaging for students from diverse educational backgrounds.