The gamer gave himself a treat instead of playing video games, as a challenge