Learning the Friendly game