Playing with Repetitions in Data Words Using Energy Games (Logical Methods in Computer Science, 2020)