Although many CS courses require extensive practice, a large number of students show low motivation for engaging in nongraded, self-directed learning activities. To address this problem, we developed OneUpa highly configurable course gamification platform that enables instructors to tailor the gamification features to fit their preferences. This paper presents a case study of using OneUp to gamify a Data Structures course. The focus is on encouraging students' self-study and better engagement with outof-class online practicing. We describe the utilized game elements-badges, leaderboard, virtual currency, and learning dashboards, and provide a descriptive analysis of their use. The results of our evaluation show that this gamification intervention has been well received by the students, resulting in significantly increased student engagement and out-of-class practicing and in a reduced failing rate.