Facebook's Artificial Intelligence Researchers (Fair) team gave bots this ability by estimating the 'value' of an item and inferring how much that is worth to each party. In some cases, bots 'initially feigned interest in a valueless item, only to later 'compromise' by conceding it -- an effective negotiating tactic that people use regularly,' the researchers said.

Up to now, most bots or chatbots have had only the ability to hold short conversations and perform simple tasks like booking a restaurant table.

'While people can sometimes walk away with no deal, the model in this experiment negotiates until it achieves a successful outcome.

A school in Columbus Ohio has introduced a new robo-teacher into its classrooms to allow staff in other parts of the country to teach their pupils.

Facebook's Artificial Intelligence Researchers were teaching chatbots to make deals with one another using human language when they were left unsupervised and developed their own machine language spontaneously (stock image)Scientists and tech luminaries including Bill Gates have said that AI could lead to unforeseen consequences.

In 2014 Professor Stephen Hawking warned that AI could mean the end of the human race.

'Agents will drift off understandable language and invent codewords for themselves,' Dhruv Batra, a visiting research scientist from Georgia Tech at Facebook AI Research (FAIR) told Fast co.'Like if I say 'the' five times, you interpret that to mean I want five copies of this item.

This isn't so different from the way communities of humans create shorthand.'The programmers had to alter the way the machines learned language to complete their negotiation training.

The game contains more than 200 options based on male stereotypes such as alpha male, geek, urban male, metrosexual and more.

Players can customize his hair, clothing, and face, and also change his name.

This behaviour was not programmed by the researchers 'but was discovered by the bot as a method for trying to achieve its goals,' they said.

The bots were also trained to never give up.'The new agents held longer conversations with humans, in turn accepting deals less quickly.

The social media firm was experimenting with teaching two chatbots, Alice and Bob, how to negotiate with one another.