Gaming Building a StarCraft bot that plays like a pro

The Helper

Necromancy Power over 9000
Staff member
Reaction score
1,701
PhD students at UC Santa Cruz are working on building an artificial intelligence designed to take on the very best StarCraft players in the world. Here they explain how they're doing it, and the challenges that lie ahead for them.

Can an artificial intelligence play StarCraft like a professional player? That's what UC Santa Cruz students Ben Weber and Peter Mawhorter set out to test when they began their latest project at the university's Expressive Intelligence Studio. Working with their associate professor, the noted interactive drama pioneer Michael Mateas, they are participating in the studio’s broader goal of exploring the intersection of artificial intelligence, art, and design. According to Mateas, "our goal is to create compelling new forms of interactive art and entertainment that provide more deeply autonomous, generative and dynamic responses to interaction. A major thrust of this work is advanced A.I. for video games, including autonomous characters and interactive storytelling. By viewing A.I. as an expressive medium, our work raises and answers novel A.I. research questions while pushing the boundaries of the conceivable and possible in interactive experiences. Current projects in the group include automated support for game generation, automatic generation of autonomous character conversations, story management, and authoring tools for interactive storytelling."

Whole story here.
 

Dan

The New Helper.Net gives me great Anxiety... o.O;;
Reaction score
159
Well... of course you can make an AI for a video game... It's just a series of algorithms that will choose the best actions to be made... though it's hardly making it's own decisions. it will be as good as the algorithms it's made with.

wonder what the interfacing robot part will look like. XD
 

sqrage

Mega Super Ultra Cool Member
Reaction score
514
Well... of course you can make an AI for a video game... It's just a series of algorithms that will choose the best actions to be made... though it's hardly making it's own decisions. it will be as good as the algorithms it's made with.

I think everyone knows what AI is.

This is pretty could, if they actually make it would. They could leave their computers running and reach #1 without ever playing SC2. :p
 

ReVolver

Mega Super Ultra Cool Member
Reaction score
609
Have the best SC2 player play for one game and have the computer record his input and just replay it? Saves about 250,000$ on stupid research. I wish I had a phD these days because finding out that we can make cars out of coffee is brilliant!
 

sqrage

Mega Super Ultra Cool Member
Reaction score
514
Have the best SC2 player play for one game and have the computer record his input and just replay it? Saves about 250,000$ on stupid research. I wish I had a phD these days because finding out that we can make cars out of coffee is brilliant!

You seriously think that would work? If it repeats the same thing over and over it would obviously just start out making the counter for that one play.
 

Durandal

New Member
Reaction score
11
stop focusing on the concept of building an A.I. to beat starcraft, yes that is their goal, but it is not why they are doing it

By viewing A.I. as an expressive medium

A medium is what you work with when you create art, it doesn't matter if the A.I. ultimately can or cannot defeat the best SC players out their, what is important is that they discover new things and important information, they are doing this for research.

Not to beat some stupid SC player
 

ReVolver

Mega Super Ultra Cool Member
Reaction score
609
You seriously think that would work? If it repeats the same thing over and over it would obviously just start out making the counter for that one play.

Well AI is based on a human player, we will defeat each other eventually, I'm just seeing the satire in this.
 

SineCosine

I'm still looking for my Tangent
Reaction score
77
Give it a few years.
I hear PC capabilities are tripling every few years =/

In our life-time, we'd already be out-smarted..
Soon..
 

Jesus4Lyf

Good Idea™
Reaction score
397
building an artificial intelligence designed to take on the very best StarCraft players in the world.
...
including autonomous characters and interactive storytelling.
...
Current projects in the group include automated support for game generation, automatic generation of autonomous character conversations, story management, and authoring tools for interactive storytelling."
...?
Are they writing story lines, or SC AI?
 

LurkerAspect

Now officially a Super Lurker
Reaction score
118
So one of these days I'll be playing online... against AI??? :nuts:

It seems like a really cool idea and project to work on, but methinks the outcome, if as succesful as they want it to be, would be highly controversial, and would probably change the way we play starcraft. Think about it, you'd have to start checking if you're playing a human or a bot!
And what would do if one of these bots reaches #1 on the ladder and starts winning tournaments?
Do we reward the owners of the AI? We'd start having AI battles instead of human battles!
 

SerraAvenger

Cuz I can
Reaction score
234
I think it will be very challenging to build an AI for a complex game like starcraft that will actually be able to win against good players.
Of course, an AI can easily excel in a couple of problems. Eg processing many units at once, clever microing in a couple of situations. Simple game decisions.
Other problems, however, may be really hard to solve.

Have the best SC2 player play for one game and have the computer record his input and just replay it?

You see, there's a reason you don't have an PhD ;)

>learning A.I.
The LISP stuff all over again?
Using genetical algorithms?

@SineCosine
sigh... Speed is only a linear factor. Our brain works completely different from any computer. Of course, we can emulate artificial neuronal networks, but its still not the same.
Computers have outsmarted us a long time ago. And they will never outsmart us. What I want to say is: There is problems a computer can solve much faster than any human. There are problems a human can solve much easier than any computer.
If we ever manage to build an AI that outsmarts us, then it will happen by chance. We will never be able to _really_ understand why it outsmarts us or how it works, nor will we ever be able to understand how we work. And a computer will never be able to understand himself either (unless, of course, we tell him how he works. But that would be considered cheating since no one tells us how we work either.)


@da1
Have you ever played chess?^^
We might do the very same = )
 

BANANAMAN

Resident Star Battle Expert.
Reaction score
150
Of course, an AI can easily excel in a couple of problems. Eg processing many units at once, clever microing in a couple of situations. Simple game decisions.
Other problems, however, may be really hard to solve.

Microing is not simple it is by far the most complex aspect of the game since so many random variables are associated with it.(Hence why ZvZ is such a volatile match up) Getting the AI to calculate which targets to attack to maximize it's chances of victory is hard enough.Sure you can order an AI to force fire on a target and retreat back immediately. But good luck getting an AI to do that simultaneously while at the same time adapting to the changes in the enemy player's change of micromanagement tactics which can happen at any given time of the engagement.Then there's also the fact that the AI can be easily abused due to it being limited to a set programing algorithm.

I have yet to see an AI that can mirco like a pro and at the same time marco like one.They're better off creating a real life replica of the C-14 Gauss rifle that works just as well if not better than the one in the game. Which is not an easier feet to begin with.
 

Jackal

You can change this now in User CP... or Die Tryin
Reaction score
38
I'd imagine it's all possible. Deep Blue anyone?
 

sqrage

Mega Super Ultra Cool Member
Reaction score
514
Give it a few years.
I hear PC capabilities are tripling every few years =/

In our life-time, we'd already be out-smarted..
Soon..

I think I'm already outsmarted. Wikipedia and the calculator tool contain far more knowledge than I do. :p
 

13lade619

is now a game developer :)
Reaction score
398
Moore's Law.

The complexity for minimum component costs has increased at a rate of roughly a factor of two per year... Certainly over the short term this rate can be expected to continue, if not to increase. Over the longer term, the rate of increase is a bit more uncertain, although there is no reason to believe it will not remain nearly constant for at least 10 years. That means by 1975, the number of components per integrated circuit for minimum cost will be 65,000. I believe that such a large circuit can be built on a single wafer.

http://en.wikipedia.org/wiki/Moore's_law
 

SerraAvenger

Cuz I can
Reaction score
234
Microing is not simple

I never said so = )
I only stated that an AI can excel at microing in some situations.
It has the huge advantage that it can basically control any number of units at the same time independently.


[An] AI can be easily abused due to it being limited to a set programing algorithm.

I do totally agree here. We won't be able to reproduce an AI that works the way we do because we don't know the algorithms we use, and we won't be able to get those.

A mutating AI would probably be very interesting. Having one AI template and randomly choosing decisions. At the end of the game, the decisions would have to be analyzed. Those decisions that changed the game in favor for the AI would from then on be slightly preferred. The only thing that would be necessary is a function to analyze any current situation in the game, which could be very interesting too.

Getting the AI to calculate which targets to attack to maximize it's chances of victory is hard enough.

Well I wouldn't be so sure on that. Of course, getting the chances to really MAXIMIZE the chances of victory is really hard, but you can get a pretty good estimate only checking some potentially beneficial targets.

A fairly interesting project. I'm glad I don't have to do that = )
I would utterly fail. Even if I was a better Sc player^^
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top