• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 02:58
CEST 08:58
KST 15:58
  • 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
[ASL21] Ro24 Preview Pt2: News Flash10[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy18ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book20
Community News
$5,000 WardiTV TLMC tournament - Presented by Monster Energy1GSL CK: More events planned pending crowdfunding0Weekly Cups (May 30-Apr 5): herO, Clem, SHIN win0[BSL22] RO32 Group Stage4Weekly Cups (March 23-29): herO takes triple6
StarCraft 2
General
BGE Stara Zagora 2026 cancelled Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Weekly Cups (May 30-Apr 5): herO, Clem, SHIN win Rongyi Cup S3 - Preview & Info Team Liquid Map Contest #22 - Presented by Monster Energy
Tourneys
RSL Season 4 announced for March-April $5,000 WardiTV TLMC tournament - Presented by Monster Energy Sea Duckling Open (Global, Bronze-Diamond) GSL CK: More events planned pending crowdfunding Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
The PondCast: SC2 News & Results Mutation # 520 Moving Fees Mutation # 519 Inner Power Mutation # 518 Radiation Zone
Brood War
General
Gypsy to Korea so ive been playing broodwar for a week straight. ASL21 General Discussion Pros React To: JaeDong vs Queen [BSL22] RO32 Group Stage
Tourneys
[Megathread] Daily Proleagues [BSL22] RO32 Group B - Sunday 21:00 CEST [BSL22] RO32 Group A - Saturday 21:00 CEST 🌍 Weekly Foreign Showmatches
Strategy
Muta micro map competition Fighting Spirit mining rates What's the deal with APM & what's its true value Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Starcraft Tabletop Miniature Game General RTS Discussion Thread Nintendo Switch Thread Darkest Dungeon
Dota 2
The Story of Wings Gaming Official 'what is Dota anymore' discussion
League of Legends
G2 just beat GenG in First stand
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
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread Canadian Politics Mega-thread Russo-Ukrainian War Thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion Cricket [SPORT] Tokyo Olympics 2021 Thread General nutrition recommendations
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Loot Boxes—Emotions, And Why…
TrAiDoS
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
ASL S21 English Commentary…
namkraft
Electronics
mantequilla
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2396 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 States10700 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
Replay Cast
00:00
WardiTV Mondays #77
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft446
StarCraft: Brood War
GuemChi 4342
Zeus 1054
ggaemo 117
Icarus 19
Bale 13
Dota 2
NeuroSwarm127
XcaliburYe106
League of Legends
JimRising 660
Counter-Strike
Coldzera 1753
Stewie2K882
m0e_tv467
Other Games
summit1g14687
C9.Mang0371
Liquid`RaSZi200
Mew2King80
Nina32
Organizations
Counter-Strike
PGL2715
Other Games
gamesdonequick872
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• Berry_CruncH305
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo1420
Upcoming Events
The PondCast
3h 2m
CranKy Ducklings
17h 2m
WardiTV Team League
1d 4h
Replay Cast
1d 17h
CranKy Ducklings
2 days
WardiTV Team League
2 days
uThermal 2v2 Circuit
2 days
BSL
2 days
n0maD vs perroflaco
TerrOr vs ZZZero
MadiNho vs WolFix
DragOn vs LancerX
Sparkling Tuna Cup
3 days
WardiTV Team League
3 days
[ Show More ]
OSC
3 days
BSL
3 days
Sterling vs Azhi_Dahaki
Napoleon vs Mazur
Jimin vs Nesh
spx vs Strudel
Replay Cast
3 days
Replay Cast
4 days
Wardi Open
4 days
GSL
5 days
Replay Cast
6 days
Kung Fu Cup
6 days
Replay Cast
6 days
Liquipedia Results

Completed

CSL Elite League 2026
RSL Revival: Season 4
NationLESS Cup

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
StarCraft2 Community Team League 2026 Spring
Nations Cup 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026

Upcoming

Escore Tournament S2: W2
IPSL Spring 2026
Escore Tournament S2: W3
Acropolis #4
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
RSL Revival: Season 5
WardiTV TLMC #16
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 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.