A model of strategic behaviour in repeated games