We adapted an existing Java teaching game called JavaKara to help students learn how to use loops and control statements and tested it in class. Two groups of BSc Students in an introductory Java course played the game for about an hour. The game was evaluated using the MEEGA+ game evaluation method. A questionnaire was administered to get feedback and the game got a score 53.45, i.e. good. Students reported that they lost track of time and were satisfied with this new learning paradigm.