Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So some background: I play League of Legends (LoL) religiously and have a strong background in A.I. programming. In an attempt to put 2 and 2 together I've been trying to implement a bot for playing LoL, but have stymied by having to extract game-state information without access to the source code.

With that in mind, does anyone know of a MOBA that could sate my bot developing urges via being open-source? Alternatively, do you know if any AAA game companies (e.g. RIOT, Blizzard, Valve) would release some of their code (or even just an API) for research purposes (I'm in academia, so I could probably pass off my fascination as work related)?

share|improve this question

migrated from Nov 8 '11 at 1:43

This question came from our site for passionate videogamers on all platforms.

Blizzard is making their own DOTA now, that will pobably be a custom Starcraft II map. Next thing, most maps that Blizzard works on aren't closed, at least I haven't seen 'em being closed. That + SC2 + map editor should be close to source code. – joltmode Dec 19 '11 at 7:18
up vote 9 down vote accepted

I came across an article a couple weeks ago about a Stanford project to make a Starcraft 2 bot. It uses a DirectX interceptor to capture and decode the graphics. I won't have time to play with it until after the semester ends.

In a different project (also waiting for the end of the semester), the creators of Arx Fatalis released the source code. Since the source lacks the graphics and resource files, you'll need to spend $5 on Steam to get a copy of the game (if you don't have one already).

share|improve this answer
Wow, just what I was looking for. Not only does it answer my question, but its also a better answer to one of my old questions on SO: – zergylord Nov 8 '11 at 22:26
This library looks pretty awesome, definitely +1 – David Young Nov 12 '11 at 1:10
Very nice! Thank you! Will answer my similar Warcraft3 issue I suppose. – Slav Aug 20 '14 at 22:05

So League of Legends and any other AAA company most likely will not release any API to directly control bots in their MOBA game but that doesn't have to stop you!

You should try creating an AI bot in the original Defense of the Ancients for Warcraft 3 using their JASS/JASS2 scripting language that the World Editor provides.

Dota-Map-AI for example created DOTA AI bots

share|improve this answer
Sadly, it's very limited :( - cannot access harddrive, use different PC and so on. – Slav Aug 20 '14 at 21:58
And, btw, such AIs are map-specific and cannot be used to play against human players at Battle.Net, for example. – Slav Aug 20 '14 at 23:19

I had your same idea time ago and have some eperience in LUA, Java, C++ and C# languages also i worked for a while in AI developing for gaming bots, and i play LoL too. As far as i know from an old WoW bot project i collaborated a little in the past, you need access to the API of the game, as in WoW certain API functions (and in our case none) are not published by the developer and must be unveiled through reverse engeneering on the program. Unless you find the code other ways...

share|improve this answer
-1 This is very vague. If you have experience in making bots, you could share it instead of very common knowledge like "certain API [...] must be unveiled through reverse engeneering on the program" – Markus von Broady Nov 4 '12 at 19:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.