• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 13:55
CET 19:55
KST 03:55
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Behind the Blue - Team Liquid History Book8Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info5herO wins SC2 All-Star Invitational14
Community News
PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar)8Weekly Cups (Jan 26-Feb 1): herO, Clem, ByuN, Classic win2RSL Season 4 announced for March-April7Weekly Cups (Jan 19-25): Bunny, Trigger, MaxPax win3Weekly Cups (Jan 12-18): herO, MaxPax, Solar win0
StarCraft 2
General
Rongyi Cup S3 - Preview & Info Behind the Blue - Team Liquid History Book Clem wins HomeStory Cup 28 How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? HomeStory Cup 28 - Info & Preview
Tourneys
PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) WardiTV Mondays $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) Sparkling Tuna Cup - Weekly Open Tournament $5,000 WardiTV Winter Championship 2026
Strategy
Custom Maps
Map Editor closed ? [A] Starcraft Sound Mod
External Content
Mutation # 512 Overclocked The PondCast: SC2 News & Results Mutation # 511 Temple of Rebirth Mutation # 510 Safety Violation
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Can someone share very abbreviated BW cliffnotes? StarCraft player reflex TE scores BW General Discussion Recent recommended BW games
Tourneys
[Megathread] Daily Proleagues Escore Tournament StarCraft Season 1 Small VOD Thread 2.0 KCM Race Survival 2026 Season 1
Strategy
Zealot bombing is no longer popular? Simple Questions, Simple Answers Current Meta Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Diablo 2 thread Battle Aces/David Kim RTS Megathread EVE Corporation Nintendo Switch Thread Path of Exile
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread YouTube Thread The Games Industry And ATVI Things Aren’t Peaceful in Palestine
Fan Clubs
The herO Fan Club! The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
Play, Watch, Drink: Esports …
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1680 users

Cool AI: Pursuit and Evade

Forum Index > BW General
Post a Reply
1 2 Next All
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
Last Edited: 2011-12-16 02:26:08
December 16 2011 02:22 GMT
#1
@Mod: If possible should this be in the General forum? It is not inherently BW related. See what fits.

Can the drone run for his life?



algorithm and publication:
Haomiao Huang, Wei Zhang, Jerry Ding, Dusan M. Stipanovic, and Claire J. Tomlin.
Guaranteed Decentralized Pursuit-Evasion in the Plane with Multiple Pursuers.
In the Proceedings of the 2011 IEEE International Conference on Decision and Control, Orlando, Florida, December, 2011.

Implementation in bwapi for starcraft:
evanthebouncy

Cast:
Narrator: Haomiao Huang
Zerglings: The algorithm
Drone: evanthebouncy

This thing is about a year old when I worked with the graduate student Haomiao on some pursuit and evade algorithms for research.

The game is as follows: We have some pursuit agents that want to capture the evade agent, all agents have the same speed. How should the pursuer best flank the evader so to guarantee capture?

The brief answer is to carve the map up into regions, the area where the evader can safely reach, and the area denied safety by the pursuer. The pursuer will try to keep shrink the safe region, until the evader is caught (have no safe region left). How to best minimize the safe region of the evader? You'd have to read the paper.

Comments are welcome ^___^

--evan
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
Froadac
Profile Blog Joined July 2009
United States6733 Posts
December 16 2011 02:46 GMT
#2
Are you the grad student at UC berkeley? This sure is darn impressive.
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
December 16 2011 02:57 GMT
#3
On December 16 2011 11:46 Froadac wrote:
Are you the grad student at UC berkeley? This sure is darn impressive.

No I'm undergrad who worked with a grad student. Applying for grad school now though.
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
Golgotha
Profile Blog Joined January 2011
Korea (South)8418 Posts
December 16 2011 03:00 GMT
#4
awesome stuff!
CakeOrI)eath
Profile Blog Joined September 2009
United States327 Posts
December 16 2011 03:37 GMT
#5
Very cool work!
Opportunities multiply as they are seized.
Dullahan
Profile Blog Joined April 2009
United States248 Posts
December 16 2011 03:52 GMT
#6
Very neat!
TelecoM
Profile Blog Joined January 2010
United States10690 Posts
December 16 2011 04:08 GMT
#7
Thats really awesome, nice job with that, I don't think stuff like that is possible with SC2, atleast not like this ^_^
AKA: TelecoM[WHITE] Protoss fighting
Chimpalimp
Profile Joined May 2010
United States1135 Posts
Last Edited: 2011-12-16 04:37:05
December 16 2011 04:34 GMT
#8
That's awesome! Though this has little to do with the actual algorithm and more with the efficiency, I noticed that in general there is always 1 zergling in the back that is kind of just tagging along hoping that he gets used soon enough. Could you take him and have him run out towards the open part of your green shape as to try to shrink the line on the side with the largest line, which would kind of act like a preemptive interception. Or in other words, one guy is trialing behind, and there is a huge gap where the drone is going towards, could you have your straggler run an alternative path in order to try to intercept the drone.

On a side note, do you think the lings would ever get a Bisu probe?
I like money. You like money too? We should hang out.
Froadac
Profile Blog Joined July 2009
United States6733 Posts
Last Edited: 2011-12-16 05:33:39
December 16 2011 05:33 GMT
#9
CS though? I applied for CS at berkeley, mind if I ask any questions? XD

Still, this is darn impressive.
Darksoldierr
Profile Joined May 2010
Hungary2012 Posts
December 16 2011 06:57 GMT
#10
Nice, i really like the fact you implemented a real algorythm into SC, looks really intresting.
What do humans know of our pain? We have sung songs of lament since before your ancestors crawled on their bellies from the sea.
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
December 17 2011 21:34 GMT
#11
On December 16 2011 14:33 Froadac wrote:
CS though? I applied for CS at berkeley, mind if I ask any questions? XD

Still, this is darn impressive.


yeah go ahead you applied for grad school in berkeley?
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
Vuk_91
Profile Joined September 2010
Serbia1690 Posts
December 17 2011 21:47 GMT
#12
Very interesting...
littlefighter
Profile Joined February 2011
43 Posts
December 17 2011 23:29 GMT
#13
I often see progamers use probes/zealots constantly block other units' paths. This AI seems to just attack as soon as it can hit the evader but I think it could be better if it kept moving the nearest unit to constantly block the escape root while the other units catch up and attack.
For example in 1:20, the drone was stopped so the ling could have kept running forward to block and surround the drone but it chose to attack and let the drone get away.
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
December 18 2011 01:06 GMT
#14
On December 18 2011 08:29 littlefighter wrote:
I often see progamers use probes/zealots constantly block other units' paths. This AI seems to just attack as soon as it can hit the evader but I think it could be better if it kept moving the nearest unit to constantly block the escape root while the other units catch up and attack.
For example in 1:20, the drone was stopped so the ling could have kept running forward to block and surround the drone but it chose to attack and let the drone get away.


that is true. The persuit and evade game says the game is over when the pursuer touch the evader for the first time. The attacking of the drone is just an addition to starcraft. Technically speaking the game is done the first time the zergling touch the drone. As you can see, the algorithm in the publication is not meant to directly play the game you are watching.
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
Antisocialmunky
Profile Blog Joined March 2010
United States5912 Posts
December 18 2011 02:41 GMT
#15
Is it better than those genetic algorithms?
[゚n゚] SSSSssssssSSsss ¯\_(ツ)_/¯
Marine/Raven Guide:http://www.teamliquid.net/forum/viewmessage.php?topic_id=163605
snakeeyez
Profile Joined May 2011
United States1231 Posts
December 18 2011 18:29 GMT
#16
It seems all the BWAPI bots could find a use for this like maybe flanking enemy armies or to kill off scouting probes in early game.
Xiphos
Profile Blog Joined July 2009
Canada7507 Posts
December 18 2011 18:32 GMT
#17
Don't think that Bisu's probe can survive that.
2014 - ᕙ( •̀ل͜•́) ϡ Raise your bows brood warriors! ᕙ( •̀ل͜•́) ϡ
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
December 18 2011 19:33 GMT
#18
On December 18 2011 11:41 Antisocialmunky wrote:
Is it better than those genetic algorithms?

Ofc. Genetic algorithm, if you look more into them, finds some approximated heuristic that vaguely optimallyh solve a problem. This is the proven optimal solution. so yes, strictly better.
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
Froadac
Profile Blog Joined July 2009
United States6733 Posts
December 20 2011 00:25 GMT
#19
Naw, undergrad.
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
December 21 2011 04:19 GMT
#20
On December 20 2011 09:25 Froadac wrote:
Naw, undergrad.


then there's prolly not much more than good SAT scores and GPA I'm afraid.
However, regardless of where you end up it's really up to you to make the most out of it.
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
1 2 Next All
Please log in or register to reply.
Live Events Refresh
Patches Events
18:45
Patch Clash Showdown #3
RotterdaM144
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ForJumy 266
mouzHeroMarine 187
RotterdaM 144
BRAT_OK 115
LamboSC2 62
EmSc Tv 21
StarCraft: Brood War
Britney 18284
Calm 3367
Horang2 243
Hyun 123
Shuttle 35
sSak 34
Aegong 32
Rock 29
Shine 19
Dota 2
qojqva2245
Dendi685
Fuzer 332
Counter-Strike
fl0m5888
Super Smash Bros
hungrybox1140
Mew2King48
Heroes of the Storm
Khaldor742
Liquid`Hasu455
MindelVK10
Other Games
Grubby3411
FrodaN3035
Liquid`RaSZi1467
Mlord842
B2W.Neo562
KnowMe171
ToD164
mouzStarbuck101
Hui .100
Organizations
Other Games
EGCTV2195
gamesdonequick1567
BasetradeTV88
StarCraft 2
EmSc Tv 21
EmSc2Tv 21
angryscii 20
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• StrangeGG 150
• HeavenSC 48
• Adnapsc2 9
• Response 2
• Kozan
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• Michael_bg 3
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV489
League of Legends
• Jankos3795
• imaqtpie1669
• Shiphtur382
Upcoming Events
OSC
5h 5m
Replay Cast
14h 5m
Wardi Open
17h 5m
Monday Night Weeklies
22h 5m
Replay Cast
1d 5h
Sparkling Tuna Cup
1d 15h
LiuLi Cup
1d 16h
Reynor vs Creator
Maru vs Lambo
PiGosaur Monday
2 days
Replay Cast
2 days
LiuLi Cup
2 days
Clem vs Rogue
SHIN vs Cyan
[ Show More ]
The PondCast
3 days
KCM Race Survival
3 days
LiuLi Cup
3 days
Scarlett vs TriGGeR
ByuN vs herO
Replay Cast
4 days
Online Event
4 days
LiuLi Cup
4 days
Serral vs Zoun
Cure vs Classic
RSL Revival
5 days
RSL Revival
5 days
LiuLi Cup
5 days
uThermal 2v2 Circuit
5 days
RSL Revival
5 days
Sparkling Tuna Cup
6 days
LiuLi Cup
6 days
Liquipedia Results

Completed

CSL 2025 WINTER (S19)
Rongyi Cup S3
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Nations Cup 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8

Upcoming

Escore Tournament S1: W8
Acropolis #4
IPSL Spring 2026
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
WardiTV Winter 2026
LiuLi Cup: 2025 Grand Finals
CCT Season 3 Global Finals
FISSURE Playground #3
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.