Staredit Network > Forums > Portal News > Topic: BW AI Tournament racks up $1300 prize pool
BW AI Tournament racks up $1300 prize pool
May 2 2012, 10:14 pm
By: Heinermann  

May 2 2012, 10:14 pm Heinermann Post #1

SDE, BWAPI owner, hacker.


Submissions for the 2012 Student Starcraft Artificial Intelligence (SSCAI) Tournament have now begun.

Using the Broodwar Application Programming Interface (BWAPI), you must write a bot that can play Starcraft: Broodwar, and submit your final entry before December. From now until December, you can write and submit incomplete versions of your bot to participate in endless matches that are being streamed in real-time which can help you identify its strengths, weaknesses, and bugs.

The prize pool? A whopping $1300.



What's the catch?
  • The tournament is only available to students.
  • You must use C++ to program your bot (this is a good chance to learn it).
  • You must share your source code (as the submission).

What are the advantages?
  • An opportunity (or excuse) to learn or practice C .
  • A chance to win prizes.
  • An activity/project to include on applications/resumes.
  • A chance to "play" Starcraft: Broodwar and say "I'm busy working on a project".
  • A platform that Computer Science students can use to test theories and use for research projects.

Some other competitions may also include CIG2012 and AIIDE2012, whose details have yet to be announced.



Attachments:
sscai1.gif
Hits: 0 Size: 66.59kb
sscai2.gif
Hits: 0 Size: 56.15kb

Post has been edited 2 time(s), last time on May 4 2012, 3:28 am by Heinermann.




May 2 2012, 10:48 pm IskatuMesk Post #2

Lord of the Locker Room

Ah, pity. If I was a programmer this would have seemed like the natural thing to do after ZAPOC. I am no student, though, never have been. In either case, I'm proud that your project has reached such heights of potential, Heinermann.



Show them your butt, and when you do, slap it so it creates a sound akin to a chorus of screaming spider monkeys flogging a chime with cacti. Only then can you find your destiny at the tip of the shaft.

May 2 2012, 11:15 pm Heinermann Post #3

SDE, BWAPI owner, hacker.

Thanks. I actually expect Starcraft: Broodwar (and BWAPI) to be a platform of choice for experimenting with RTS AI for another few years still.

Some people have said that the API is easy to use, and when I roll out BWAPI4, it will be even easier.




May 3 2012, 12:10 am Ahli Post #4

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

The video is not available in my country.
I live in Germany. :(




May 3 2012, 1:28 am Heinermann Post #5

SDE, BWAPI owner, hacker.

I have no idea why it wouldn't be available. It might be possible because of the music it uses? I don't know.

The video is this:
  • Queue music "Invaders Must Die".
  • Fade in Starcraft Student AI Tournament logo.
  • Fade out and fade in text "First of all, gather some resources..."
  • Cube-rotate to writing related source code (sped-up).
  • Cube-rotate to a Starcraft game showing Terran workers mining and some debug information printed in-game.
  • Cut to same view of Zerg workers.
  • Fade out and fade in text "Now build yourself a base..."
  • Cube-rotate to writing related source code (sped-up).
  • Cube rotate to game showing a Terran walling (debug info is in every game in this video).
  • Cut to opponent Zerg view sunkening up.
  • Cut to different game with populated Protoss base, merging an Archon.
  • Fade out and fade in text "And crush your enemies!!!"
  • Cube-rotate to writing related source code (sped-up).
  • Cube rotate to game showing a Terran owning a Zerg with M&M and Firebats.
  • Cut to other game of Protoss defending a base from Hydras with mass carriers.
  • Cut to other game of Zerg owning a Protoss base with guardians and lings.
  • Cut to other game with Protoss attacking a ridiculous mass-sunken base with Dragoons and Archons.
  • Cut to other game of Terran attacking a Zerg with a variety of units, including Siege Tank using Siege Mode and Spider Mines.
  • Fade out and fade in text "SSCAI"
  • The red "AI" part of "SSCAI" changes about every second into Heuristics, Evolution Algorithms, Logic Programming, Neural Networks, Threat-Aware Pathfinding, Machine Learning, Potential Field Control, Swarm Intelligence, and back to AI
  • The URL is added below
  • The end


But don't let that intimidate you, you can just use if's and else's like old-style AI's. Don't forget though that BWAPI follows the rules of the fog of war and doesn't give you any information on the opponent unless you can explicitly see their units.

Post has been edited 1 time(s), last time on May 3 2012, 1:35 am by Heinermann.




May 3 2012, 10:28 am luzz Post #6



Does the program have a few tutorials/built in commands? I would like to try this, but I don't know any C coding :/



None.

May 3 2012, 1:08 pm ClansAreForGays Post #7



Quote
You must use C to program your bot (this is a good chance to learn it).
Quote
Code your C++ intelligence bot and join the battle!





May 3 2012, 1:10 pm Roy Post #8

An artist's depiction of an Extended Unit Death

Really, there's hardly a difference. C++ is C with classes.




May 3 2012, 1:35 pm luzz Post #9



So... Does this program have a dummies guide? Cuz I certainly am a dummy :( but I still want to try it.



None.

May 3 2012, 2:16 pm ClansAreForGays Post #10



Quote from Roy
Really, there's hardly a difference. C++ is C with classes.
We know.




May 3 2012, 3:11 pm NudeRaider Post #11

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from Ahli
The video is not available in my country.
I live in Germany. :(
Quote from Heinermann
I have no idea why it wouldn't be available. It might be possible because of the music it uses? I don't know.
Yes. In Germany we have laws that force youtube to take down any videos that contain music not made by yourself.

But there's hope Ahli:
https://proxtube.com/

This works like a charm, for now. ;)




May 4 2012, 2:14 am luzz Post #12



I feel dumb...

Is it possible to make a guide for someone who has never used... Winrar, MPQ files or anything that is needed to run this...?

I downloaded 2010 C++ and opened the example AI, but I'm stumped beyond that point, i don't know how to "inject" BWAPI using any of the pathers...? And all of the instructions are very vague for someone who has no idea what they are doing... Plz make a tutorial, I want to try and make some A.I. For brood war. And if u dont do that at least make the instructions more noob friendly for people like me (I hope im not the only person having problems :( ) please and thank you :D



None.

May 4 2012, 3:31 am Heinermann Post #13

SDE, BWAPI owner, hacker.

It was supposed to be C++, not C. Guess the ++ was removed when the post was moved.
You can inject by running Chaoslauncher, and you must use Microsoft Visual C++ 2008 (Express will work just fine) for compilation.

Hopefully we get better tutorials up at some point, but managing the entire project myself is starting to get difficult.




May 4 2012, 9:19 pm luzz Post #14



ok, I have followed all instructions, and I don't know how this thing is supposed to work, but I get 2 errors when I start up ChaosLauncher.

They go as follows:

Could not find file "C:\Users\Sterling\Desktop\ChaosLauncher\BWAPI.dll\BWAPI.dll". - The system cannot find the path specified.

I have tried creating a folder named "BWAPI.dll" because it appears to be looking for this folder, and BWAPI.dll in it... but every time I try it says there is already a folder with that name, when there isn't...

The other didn't go into the errors notepad but it said something like this:

First off it couldnt load the "BWAPI_ChaosLauncherInjectord.bwl"
Could not load plugin because its side-by-side configuration is incorrect.

Is this my fault? Sorry for all the trouble :(

Edit:

Made progress =D

I have placed the .dll file in the AI folder in starcraft, but when I run the game using Chaos, it says file path not found. :><: I have checked and double checked the text document that checks for the filepath (Atleast I think it is, its got the filepath name and folders) but the error continues. Any input?

The program is searching for the ai in "bwapi.ini", is this the bwapi system configuration file? If so I have the ai field set to AI\ExampleAIModule.dll

Post has been edited 2 time(s), last time on May 5 2012, 12:25 am by luzz.



None.

May 5 2012, 1:01 am Heinermann Post #15

SDE, BWAPI owner, hacker.

The latest version of BWAPI is 3.7.2, make sure you download that one. Also make sure you've updated Starcraft to 1.16.1.

After downloading, copy the contents of Starcraft to your actual Starcraft installation directory (C:\Program Files\Starcraft\ for example).
Copy the contents of WINDOWS to your C:\Windows folder. This contains some dependency DLLs needed for some modules to function properly.

Go to the Chaoslauncher folder and run Chaoslauncher - MultiInstance.exe. Make sure you check only ONE BWAPI launcher, preferably the one that says BWAPI Injector (1.16.1) RELEASE.

Compile ExampleAIModule with VC++ 2008 Express in WIN32 RELEASE mode. Go to the Release folder that was created and copy ExampleAIModule.dll to C:\Program Files\Starcraft\bwapi-data\AI\ (or wherever you installed Starcraft).

It should then immediately work without problems (for most people).
Set-up will be made easier in BWAPI 4.0 once released.




May 5 2012, 4:44 am luzz Post #16



Thank you, i got it to work, I was trying to load in the basic AI, not the example one. The basic asks for reference 3975 or something like that, and then it doesnt work =/ but the example works great and I got my workers to mine minerals properly. Thanks again!



None.

May 5 2012, 7:39 am CecilSunkure Post #17



Quote from Roy
Really, there's hardly a difference. C++ is C with classes.
Eehhh this isn't really true at all ><

There's generic programming for example. There's just a whole lot more to C++ than just C with classes.



None.

May 5 2012, 9:16 pm UnholyUrine Post #18



I'm not geeking out on this,

But this is truly something to marvel at...

Also, 1300$?!? WIN IT FOR US, HEINERMANN! WE SUPPORT YOU!!



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:37 pm]
Vrael -- jesus christ that was 2005?
[09:19 am]
Linekat -- cool
[01:56 am]
Oh_Man -- cool bit of history, spellsword creator talking about the history of EUD ^
[09:24 pm]
Moose -- denis
[05:00 pm]
lil-Inferno -- benis
[2024-4-19. : 10:41 am]
v9bettel -- Nice
[2024-4-19. : 1:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[2024-4-18. : 10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[2024-4-18. : 10:11 pm]
Ultraviolet -- :P
Please log in to shout.


Members Online: Vrael, C(a)HeK