Motivational inversion
In ordinary life people pursue means for the sake of ends. In a game a player takes up an end, such as getting a ball in a net, for the sake of the activity of pursuing it.
From Nguyen, 2020, ch. 1. Nguyen, C. T. (2020). Games: agency as art. New York: Oxford University Press. ISBN 9780190052089 (hardback). DOI 10.1093/oso/9780190052089.001.0001.