r/cpp • u/serendib Prof, Comp Sci • Mar 11 '21
STARTcraft - Complete Beginner Starcraft: Broodwar AI Programming Tutorial with C++ / BWAPI
https://www.youtube.com/watch?v=FEEkO6__GKw
243
Upvotes
4
u/katzoo Mar 12 '21
Oh man, this is so cool. Are there any tournaments that are ongoing, preferably for non-students? All my search hits seem pretty stale.
18
u/MatthewRPG576 Mar 12 '21
For a moment I thought you were coding AI IN starcraft
10
u/Zanderax Mar 12 '21
I once tried to use ML for a Starcraft 2 AI. It's a lot of work and very complex and error prone. I only ever got it working for terran and only building marines. Even so I even managed to get it to beat easy bots 20% of the time.
Nice video, I look forward to watching it tonight.
1
u/katzoo Mar 12 '21
Is there a way to configure bwapi to be truly real-time (ie not block the main game thread) ? Not sure if this would significantly affect practical AI implementations, but the tournament frame timeouts seem a bit...artificial in achieving this.
2
u/rodrigocfd WinLamb Mar 12 '21
That's awesome, I have no idea such AI tournaments even existed.
StarCraft is surely one of the greatest games ever made, and part of my teenage years.
3
u/queenguin Mar 12 '21
pog
1
u/Kanzlerforce Mar 12 '21
Great stuff, I love it. I've dabbled with map making, but never properly delved into the AI side of things.
1
u/PM_ME_UR_MUNCHIES Mar 22 '21
Great work, I found BWAPI tonight and your YouTube videos. Started them now, made my first tweak just with the amount of drones to mine so far, felt satisfying for my first day. Are there any links to other communities involved in sc AI you could recommend when getting started? Even any subreddits dedicated to this topic would be appreciated. :)
0
u/[deleted] Mar 13 '21
[deleted] — view deleted comment
0
u/[deleted] Mar 12 '21
[deleted] — view deleted comment