STARTcraft - Complete Beginner Starcraft: Broodwar AI Programming Tutorial with C++ / BWAPI

Опубликовано: 23 Октябрь 2024
на канале: Dave Churchill
17,836
465

Part 1:    • Introduction to Starcraft, Strategy, ...  

Time Codes:
00:00 - Introduction
02:39 - STARTcraft GitHub Project
04:20 - StarterBot Setup and Run
08:12 - Compiling StarterBot in Visual Studio
09:03 - How Starcraft Bots Work - Client Architecture / DLL Injection
15:29 - BWAPI Settings
22:50 - Running StarterBot from Visual Studio for Debugging
27:50 - main.cpp - Connecting to Starcraft and BWAPI Events
37:26 - StarterBot Class Architecture, first lines of code
38:41 - onStart() - Setting Game Speed / Other Options
44:52 - onEnd() - Printing Who Won the Game
46:03 - onUnitEvents() - Triggered Event Functions
50:31 - onFrame() - The Main Game Loop
53:53 - Sending Workers to Minerals (Unit, Game, Player Classes)
1:04:54 - Printing Unit IDs to Screen / Fog of War
1:10:39 - Drawing Shapes on the Map
1:15:04 - Actually Sending Workers to Minerals
1:18:18 - Training Additional Workers
1:26:50 - onUnitCreate() Event Example
1:28:53 - Constructing Buildings
1:38:28 - Edge Cases: Units in Progress
1:44:46 - Preventing Duplicate Unit Commands
1:50:35 - Map Tools
1:53:48 - Sending a Unit to Scout
2:01:31 - UAlbertaBot GitHub / Outro

If you are not familiar with Starcraft or RTS games in general, please watch my Intro to Starcraft AI video before watching this video:
   • Introduction to Starcraft, Strategy, ...  

STARTcraft on github:
https://github.com/davechurchill/STAR...

Installing UAlbertaBot:
https://github.com/davechurchill/ualb...

My Website:
http://www.cs.mun.ca/~dchurchill/