• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 02:32
CEST 08:32
KST 15:32
  • 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
Code S RO12 Preview: Maru, Trigger, Rogue, NightMare12Code S RO12 Preview: Cure, sOs, Reynor, Solar15[ASL19] Ro8 Preview: Unyielding3Official Ladder Map Pool Update (April 28, 2025)17[ASL19] Ro8 Preview: Rejuvenation8
Community News
Maru & Rogue GSL RO12 interviews: "I think the pressure really got to [trigger]"0Code S Season 1 - Maru & Rogue advance to RO80Code S Season 1 - Cure & Reynor advance to RO84$1,250 WardiTV May [May 6th-May 18th]5Clem wins PiG Sty Festival #67
StarCraft 2
General
Maru & Rogue GSL RO12 interviews: "I think the pressure really got to [trigger]" Code S Season 1 - Maru & Rogue advance to RO8 Clem wins PiG Sty Festival #6 How does the number of casters affect your enjoyment of esports? Code S Season 1 - Cure & Reynor advance to RO8
Tourneys
[GSL 2025] Code S:Season 1 - RO12 - Group B [GSL 2025] Code S:Season 1 - RO12 - Group A $1,250 WardiTV May [May 6th-May 18th] SOOPer7s Showmatches 2025 Sea Duckling Open (Global, Bronze-Diamond)
Strategy
[G] PvT Cheese: 13 Gate Proxy Robo Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 472 Dead Heat Mutation # 471 Delivery Guaranteed Mutation # 470 Certain Demise Mutation # 469 Frostbite
Brood War
General
(UMS) Artosis vs Ogre Zerg [The Legend Continues] BW General Discussion BGH auto balance -> http://bghmmr.eu/ Recent recommended BW games Preserving Battlereports.com
Tourneys
[ASL19] Ro8 Day 4 [BSL20] RO32 Group F - Saturday 20:00 CET [BSL20] RO32 Group E - Sunday 20:00 CET [CSLPRO] $1000 Spring is Here!
Strategy
[G] How to get started on ladder as a new Z player Creating a full chart of Zerg builds [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread What do you want from future RTS games? Nintendo Switch Thread Grand Theft Auto VI Battle Aces/David Kim RTS Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia TL Mafia Community Thread TL Mafia Plays: Diplomacy TL Mafia: Generative Agents Showdown Survivor II: The Amazon
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine UK Politics Mega-thread Elon Musk's lies, propaganda, etc.
Fan Clubs
Serral Fan Club
Media & Entertainment
Movie Discussion! Anime Discussion Thread [Books] Wool by Hugh Howey Surprisingly good films/Hidden Gems
Sports
2024 - 2025 Football Thread NHL Playoffs 2024 NBA General Discussion Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard How to clean a TTe Thermaltake keyboard?
TL Community
BLinD-RawR 50K Post Watch Party The Automated Ban List TL.net Ten Commandments
Blogs
Why 5v5 Games Keep Us Hooked…
TrAiDoS
Info SLEgma_12
SLEgma_12
SECOND COMMING
XenOsky
WombaT’s Old BW Terran Theme …
WombaT
Heero Yuy & the Tax…
KrillinFromwales
BW PvZ Balance hypothetic…
Vasoline73
Test Entry for subject
xumakis
Customize Sidebar...

Website Feedback

Closed Threads



Active: 12728 users

Zerg Build Order optimizer.

Forum Index > SC2 General
Post a Reply
1 2 3 4 5 56 57 58 Next
Lomilar
Profile Joined July 2010
United States130 Posts
Last Edited: 2010-12-15 03:28:15
October 12 2010 23:58 GMT
#1
Current Version: v0023

<0023 update>

Evolution Chamber Hwaiting! Und das uber Evolution Chamber!

That's right boys and girls, we have internationalization!

</0023 update>

It is out! http://code.google.com/p/evolutionchamber

Download Java and get it!

Yes, there will be a toss and terran version. We are in the preliminary advanced stages of making them.

For any non-code related feedback, please email fritley@gmail.com or (if you have a TL account) PM me.

Chat: irc.quakenet.org #EvolutionChamber

----------------

My career is in building learning systems and AI. One day I thought, huh, it looks like Starcraft 2 has a set vocabulary, and the game _is_ deterministic, to a certain point in the game. That means I can write a program that can learn how to perform a build order better, in order to make myself better.

I want to repeat this. I wrote a program that can learn how to optimize a build order.

So what I want to see if I can prove is if my program works, and get feedback on this.

The input is like so. I want to reach a certain point in the game. That point in the game may be 7 roaches. The build order optimizer tells you step by step instructions on how to get there, and then optimizes to become the fastest way to get there.

Here is the output for a 7 roach rush, a build I've used on the ladder to great effect. Note the following:

This is (potentially) the FASTEST way to get 7 roaches. Not to have a good economy and 7 roaches, or 7 roaches and a queen (though as you can see, it thinks a queen is useful), but just 7 roaches.

It is also naive. It uses averages and numbers, it doesn't actually run a drone to the mineral line, or think about how long it takes to run a drone to build a spawning pool. It is a simulator, and is not subject to gas steals, scouting, or anything of that sort.

The way to read this is:
@ -- This is at... so at 0 minutes and 0 seconds, you have
M: Minerals
G: Gas
L: Larvae
Supply: 6.0 of 10
Drone -- build a drone
@1fetc -- ignore. Just an address.

the +1 means the thing has popped at that time. So at 15 seconds, a larva spawned.

The Build Order for fast roaches.
+ Show Spoiler +

@0:0 M:50 G:0 L:3 S:6.0/10 Drone@1fc9896
@0:12 M:51 G:0 L:2 S: 7.0/10 Drone@85bc91
@0:15 Larva+1
@0:17 Drone+1
@0:23 M:52 G:0 L:2 S:8.0/10 Drone@1ee85f
@0:29 Drone+1
@0:30 Larva+1
@0:33 M:54 G:0 L:2 S: 9.0/10 Drone@129e853
@0:40 Drone+1
@0:45 Larva+1
@0:50 Drone+1
@0:50 M:106 G:0 L:2 S:10.0/10 Overlord@53b641
@1:0 Larva+1
@1:15 Overlord+1
@1:15 Larva+1
@1:18 M:202 G:0 L:3 S:10.0/18 SpawningPool@1e2a632
@1:26 M:52 G:0 L:3 S: 9.0/18 Drone@10d3219
@1:34 M:52 G:0 L:2 S:10.0/18 Drone@1898dfc
@1:41 Larva+1
@1:42 M:52 G:0 L:2 S:11.0/18 Drone@1c8d07e
@1:43 Drone+1
@1:49 M:51 G:0 L:1 S:12.0/18 Drone@f03da2
@1:51 Drone+1
@1:56 Larva+1
@1:56 M:55 G:0 L:1 S:13.0/18 Drone@5e6792
@1:59 Drone+1
@2:6 Drone+1
@2:11 Larva+1
@2:11 M:135 G:0 L:1 S:14.0/18 Drone@1e1e208
@2:11 M:85 G:0 L:0 S:15.0/18 Extractor@be887e
@2:13 Drone+1
@2:23 Spawning Pool+1
@2:26 Larva+1
@2:26 M:196 G:0 L:1 S:14.0/18 Drone@19c8632
@2:27 M:155 G:0 L:0 S:15.0/18 Queen@12e6b9b
@2:28 Drone+1
@2:41 Extractor+1
@2:41 Larva+1
@2:41 M:141 G:1 L:1 S:17.0/18 Drone@9a8db8
@2:43 Drone+1
@2:48 M:150 G:15 L:0 S:18.0/18 RoachWarren@ce3285
@2:56 Larva+1
@2:56 M:62 G:30 L:1 S:17.0/18 Drone@156dd0d
@2:58 Drone+1
@3:11 Larva+1
@3:11 M:139 G:58 L:1 S:18.0/18 Overlord@1ca9ff1
@3:13 Drone+1
@3:17 Queen+1
@3:26 Larva+1
@3:26 M:175 G:87 L:1 S:18.0/18 Overlord@1ca9057
@3:36 Overlord+1
@3:36 M:167 G:106 L:0 S:18.0/26 EcActionWait@1ca46d3
@3:41 Larva+1
@3:41 M:213 G:115 L:1 S:18.0/26 EcActionWait@effef4
@3:43 Roach Warren+1
@3:43 M:231 G:119 L:1 S:18.0/26 EcActionWait@4b843a
@3:43 M:231 G:119 L:1 S:18.0/26 Roach@1d60d6d
@3:51 Overlord+1
@3:56 Larva+1
@3:56 M:280 G:119 L:1 S:20.0/34 Roach@b752d
@4:2 Larva+4
@4:2 M:265 G:105 L:4 S:22.0/34 Roach@39e69c
@4:2 M:195 G:80 L:3 S:24.0/34 Roach@1532379
@4:2 M:125 G:55 L:2 S:26.0/34 Roach@13e0bc6
@4:5 M:83 G:36 L:1 S:28.0/34 Roach@770c65
@4:10 Roach+1
@4:11 Larva+1
@4:13 M:86 G:26 L:1 S:30.0/34 Roach@1cec45b
@4:23 Roach+1
@4:26 Larva+1
@4:29 Roach+1
@4:29 Roach+1
@4:29 Roach+1
@4:32 Roach+1
@4:40 Roach+1


Poll: Do you ever think this should see the light of day?

Yes. (1837)
 
89%

No, and you've just ruined the metagame. (138)
 
7%

No. (100)
 
5%

2075 total votes

Your vote: Do you ever think this should see the light of day?

(Vote): Yes.
(Vote): No.
(Vote): No, and you've just ruined the metagame.



Poll: What flavor would you like to see the build order optimizer in?

Runnable Application. I want to use my awesome computer for personal gain! (1188)
 
62%

Web Application. I want it to be the easiest thing to use, don't care if it is slow. (475)
 
25%

Android Application. I want to do it at work. Discreetly. In the bathroom. (174)
 
9%

Distributed Program. I don't care if it takes a while to get out, I want community support! (76)
 
4%

1913 total votes

Your vote: What flavor would you like to see the build order optimizer in?

(Vote): Runnable Application. I want to use my awesome computer for personal gain!
(Vote): Web Application. I want it to be the easiest thing to use, don't care if it is slow.
(Vote): Distributed Program. I don't care if it takes a while to get out, I want community support!
(Vote): Android Application. I want to do it at work. Discreetly. In the bathroom.


Descriptions are here.
iSTime
Profile Joined November 2006
1579 Posts
October 13 2010 00:01 GMT
#2
That's very interesting, though it'd be about 150x better if it could account for scouting on whatever number you scout on/required movement of workers.
www.infinityseven.net
Lomilar
Profile Joined July 2010
United States130 Posts
Last Edited: 2010-10-13 00:04:44
October 13 2010 00:03 GMT
#3
I just use the digits provided by Liquipedia on their mineral/gas mining page. I could add arbitrary delays for things like moving a drone to build a building, but considering you can move a drone into position right within the time it takes to mine, that is mostly a moot point.

As for scouting, I thought about removing a drone at some scouting time, but eh. That's fine. If I make a real application out of this, it will definitely have the ability to do that.

I also don't have an option yet to pull workers out of gas, but again, that's not hard.
Broodlings
Profile Blog Joined November 2009
United States157 Posts
October 13 2010 00:05 GMT
#4
I don't understand whats so wrong about this. And just because you don't release it eventually someone will, if it is effective as you say it is.
There is no Karont3 icon???? what is this madness?
Lomilar
Profile Joined July 2010
United States130 Posts
October 13 2010 00:07 GMT
#5
Part of 'playing the game' over the long term is figuring out build orders. If I want 20 roaches and 10 hydras, this can give me a definitive answer as to the best way to get that, so I don't have to play 30 or so games, working and smoothing out the build order.

That's the danger. It is a significant advantage.
Goobus
Profile Joined May 2010
Hong Kong587 Posts
Last Edited: 2010-10-13 00:09:19
October 13 2010 00:07 GMT
#6
I don't see where the "moral problem" is here. This is merely a tool, it's not like it can play the game for you. With this kind of program SC2 can advance so much quicker than it has in the past, without the need to test build orders. For example, nobody would've guessed that an overpool/15 extractor would be the fastest way to get 7 roaches out.

EDIT: Is there a way to input multiple "goals" for the program? (i.e. get 7 Roaches and 1 set of Zerglings)
Crazypyro1
Profile Joined May 2010
United States446 Posts
October 13 2010 00:09 GMT
#7
Can the program understand the advantages of a fast expo, if so, how much is that "worth"? And is there a certain number of drones you must maynard for the build order to work with the estimated worth of the expo?
Lomilar
Profile Joined July 2010
United States130 Posts
Last Edited: 2010-10-13 00:14:20
October 13 2010 00:11 GMT
#8
Yes. It can tell you when to expo.

Right now, it assumes the available number of mineral patches is based on the number of hatcheries you have, same with gas, and that the workers are distributed evenly. A flaw right now is that it assumes the workers are maynarded over instantly, with no mineral time lost. That is going on the list of things to fix.

And how much is it worth? Well, it depends what your goal is. The bigger the goal (50 roaches, or just 20 zerglings) the longer it takes to achieve, so it accounts for building an expo in the former, but not the latter, because it is faster to do the latter with just a queen.

You can require it also to build an expo. So 7 roach fast expand could be a possible build for it to crunch.

I can also chain these builds together. So 7 roach to fast muta, find the best way to do that.
flowandebb
Profile Joined September 2010
Canada158 Posts
Last Edited: 2010-10-13 00:19:23
October 13 2010 00:14 GMT
#9
10 pool isn't even THAT much of an economic disadvantage.

Edit: It seems to have a problem with overlords in my opinion. Always gets them when it is supply capped. I don't think thats optimal?
Dromar
Profile Blog Joined June 2007
United States2145 Posts
October 13 2010 00:17 GMT
#10
On October 13 2010 08:58 Lomilar wrote:
It is a simulator, and is not subject to gas steals, scouting, or anything of that sort.


Sounds cool, but it sounds like it only computes the fastest way to do something you already know you want to do (which btw isn't even the best way necessarily). As long as the above is true, I don't think you need to worry about any moral dilemma.
gamecreator
Profile Joined July 2010
United States24 Posts
Last Edited: 2010-10-13 00:23:13
October 13 2010 00:21 GMT
#11
It sounds like it's blind and deaf but smart otherwise. In other words, it'll get you the fastest Mutalisk but it won't care that the enemy is attacking you with Marines and you need Zerglings now.

But yeah, feel free to release it. And make one for Protoss and Terran when you can. I'm impressed it considers expansions as well. If this program was somehow combined with the map analyzer, it would be that much more powerful.
RifleCow
Profile Joined February 2008
Canada637 Posts
October 13 2010 00:21 GMT
#12
I think in order for this to work beyond cheese you would have to input a few things. Like tell it to get up another hatchery, 35 drones, 2 spines, 4 zerglings, and 2 roaches then lair. Oh yea, and the zerglings and the roaches have to come out before the first hellion harrass. Knowing the fastest way to do this would be something useful. Can you program this?
hohoho
Fa1nT
Profile Joined September 2010
United States3423 Posts
October 13 2010 00:22 GMT
#13
The fastest way to do something is still the fastest way to do something.

If you are following this, but say a probe kills a drone, you will be behind a few seconds, but it still is probably the most efficient way.
Lomilar
Profile Joined July 2010
United States130 Posts
Last Edited: 2010-10-13 00:24:21
October 13 2010 00:23 GMT
#14
On October 13 2010 09:14 flowandebb wrote:
...
Edit: It seems to have a problem with overlords in my opinion. Always gets them when it is supply capped. I don't think thats optimal?



I didn't think that was optimal either, but if you think about it, an overpool means you start the pool while waiting for the overlord to pop, maximizing the number of minerals from 10 drones instead of 9 (and pretty early too, necessary for fast roaches), and the 2 overlords while waiting for the roach warren to pop also makes sense, since you want the supply right when you build the 7 roaches from when the queen larva pop.

PLEASE! If you can post a replay of you getting close to this time or beating it with a build order, I want to know.

But yes, a lot of things seem counter-intuitive, but run the build a few times, and it starts to make more sense.
Qzy
Profile Blog Joined July 2010
Denmark1121 Posts
Last Edited: 2010-10-13 00:29:25
October 13 2010 00:24 GMT
#15
Easy to make so just release it. It's a constraint problem, easily solved by a simple search - not like most programmers can't do it.

The problem is not "how fast can i make 10 battlecruisers!" The problem is: How can i sustain a good economy, and yet being able to fend off his army... The algorithm can't solve that.
TG Sambo... Intel classic! Life of lively to live to life of full life thx to shield battery
tsuxiit
Profile Joined July 2010
1305 Posts
Last Edited: 2010-10-13 00:24:48
October 13 2010 00:24 GMT
#16
...I somehow doubt this program is as impressive as you claim.

Say you told it you wanted to make 50 hydralisks. There are an extreme number of variables in that equation; when do larva start to appear at a new expansion? When can a queen get there? Should you expand 3 times as soon as possible or delay them? If so, by how much? I mean, how does your program possibly determine and optimize hundreds of precise timings? Does your claim that it 'learns' just mean that it gives you limited information as to how to 'optimize' a build once you already execute it?
Redunzl
Profile Blog Joined January 2010
862 Posts
October 13 2010 00:26 GMT
#17
Release the hounds....
Lomilar
Profile Joined July 2010
United States130 Posts
October 13 2010 00:28 GMT
#18
On October 13 2010 09:24 tsuxiit wrote:
...I somehow doubt this program is as impressive as you claim.

Say you told it you wanted to make 50 hydralisks. There are an extreme number of variables in that equation; when do larva start to appear at a new expansion? When can a queen get there? Should you expand 3 times as soon as possible or delay them? If so, by how much? I mean, how does your program possibly determine and optimize hundreds of precise timings? Does your claim that it 'learns' just mean that it gives you limited information as to how to 'optimize' a build once you already execute it?


Give me a desired build. Something like, the fastest way to some mutalisks, or something like that.

There are indeed an extreme number of variables in that equation. I have programmed some tricks in there, such as waiting for a building to pop before doing anything more. I haven't done others, like building a second queen at your main while waiting for your expo.

My claim is, you give me a desired destination (10 lings, 5 roaches, 7 mutalisks), and within an hour or two, or maybe less, I will give you a build like the above, telling you how to do it very quickly.
VelRa_G
Profile Blog Joined March 2010
Canada304 Posts
October 13 2010 00:28 GMT
#19
I don't think by any means that this would be a detriment to the SC2 community. No one plays like a robot, and unexpected things happen in games because each game is emergent and dynamic.This just allows players to skip the hardest part of advancing the metagame, figuring out correct timings to optimize their builds! This program could very well be the death of many strategies and the birth of many more fruitful ones.
Nuda Veritas
FrostedMiniWeet
Profile Joined July 2009
United States636 Posts
October 13 2010 00:29 GMT
#20
I was actually considering writing a similar program. This won't change much in the gaming scene however, as the game gets too dynamic as it goes on, but it may provide some clever builds. I'm curious what function you used to determine the effectiveness of drone mining, as there is diminishing returns for each drone as you approach 3 drones per patch.
1 2 3 4 5 56 57 58 Next
Please log in or register to reply.
Live Events Refresh
Next event in 3h 28m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Leta 1001
Nal_rA 577
PianO 492
GuemChi 195
TY 175
Sharp 113
NotJumperer 2
eros_byul 1
Dota 2
NeuroSwarm179
League of Legends
JimRising 755
Super Smash Bros
hungrybox1505
Heroes of the Storm
Khaldor241
Other Games
summit1g8856
WinterStarcraft632
Ketroc25
Organizations
Counter-Strike
PGL13163
Other Games
gamesdonequick1027
StarCraft 2
CranKy Ducklings236
ESL.tv133
Other Games
BasetradeTV40
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• practicex 53
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Other Games
• WagamamaTV98
Upcoming Events
Sparkling Tuna Cup
3h 28m
WardiTV Invitational
4h 28m
AllThingsProtoss
4h 28m
uThermal 2v2 Circuit
7h 28m
Chat StarLeague
9h 28m
BSL Season 20
11h 28m
MadiNho vs dxtr13
Gypsy vs Dark
Circuito Brasileiro de…
12h 28m
Afreeca Starleague
1d 3h
BeSt vs Light
Wardi Open
1d 4h
Replay Cast
1d 17h
[ Show More ]
Replay Cast
2 days
Afreeca Starleague
2 days
Snow vs Soulkey
WardiTV Invitational
2 days
PiGosaur Monday
2 days
GSL Code S
3 days
ByuN vs Rogue
herO vs Cure
Replay Cast
3 days
GSL Code S
4 days
Classic vs Reynor
GuMiho vs Maru
The PondCast
4 days
RSL Revival
4 days
GSL Code S
5 days
Korean StarCraft League
5 days
RSL Revival
6 days
Online Event
6 days
Clem vs ShoWTimE
herO vs MaxPax
Liquipedia Results

Completed

BSL Nation Wars Season 2
PiG Sty Festival 6.0
Calamity Stars S2

Ongoing

JPL Season 2
ASL Season 19
YSL S1
BSL 2v2 Season 3
BSL Season 20
China & Korea Top Challenge
KCM Race Survival 2025 Season 2
CSLPRO Spring 2025
2025 GSL S1
Heroes 10 EU
PGL Astana 2025
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025
ESL Pro League S21

Upcoming

NPSL S3
CSLPRO Last Chance 2025
CSLAN 2025
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Bellum Gens Elite Stara Zagora 2025
2025 GSL S2
DreamHack Dallas 2025
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
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 © 2025 TLnet. All Rights Reserved.