Machiavellian strategist or cultural learner? Mentalizing and learning over development in a resource sharing game