Learned human-agent decision-making, communication and joint action in a virtual reality environment