This paper explores the hypothesis that pointing gesture recognition can be learned using a reward based system. An experiment with two four-legged robots is presented. One of the robots takes the role of an adult and is pointing to an object, the other robot, the learner, has to interpret the pointing gesture correctly in order to find the object. We discuss the results of this experiment in relation to possible developmental scenarios about how children learn to interpret pointing gestures.