A bot designed by Elon Musk has defeated one of the best Dota 2 players in the world.

RELATED: eSports Might Be Coming To The Olympics

The bot is backed by artificial intelligence company, Open AI and competed against one of the world’s best Dota 2 players, Danil “Dendi” Ishutin. The three 1v1 matches took place under standard tournament rules.  The company claims that the bot learned to play Dota 2 all by itself from scratch, using self-play learning techniques. The aim is to create AI systems that can accomplish goals in a complicated, real-world situation which involves humans.

Not only did the bot beat one of the best Dota 2 players in the world, but it managed to play undefeated against top eSports players like SumaiL, who is the top 1v1 player in the world and Arteezy who is the top overall player in the world.

Open AI accredits its bot’s abilities to predict other player’s behaviour to it being undefeated and beating one of the best Dota 2 players in the world.

Success in Dota 2 requires players to develop intuitions about their opponents and plan accordingly. In the above video you can see that our bot has learned – entirely via self-play – to predict where other players will move, to improvise in response to unfamiliar situations, and how to influence the other player’s allied units to help it succeed.

The next steps for OpenAI are to create a team of Dota 2 bots that can take on and team up with human teams.

With bots being able to beat humans in Dota 2 and an artificial intelligence judge that can accurately predict the outcome of human rights cases, a sci-fi future as predicted by movies like The Matrix, Terminator, and iRobot might not seem so far off.

RELATED: Gaming Prizes Have Become Life-Changingly Big