archive by month
Skip to content

Skynet skills

I meant to write another post or two about how particular bots keep their squads in formation, but after grepping source code for every keyword I could think of, I didn’t turn any up. We already know that OpprimoBot keeps its squads compact with a flocking algorithm, so my search was definitely not comprehensive... but I still gave up.

Instead I’ll write a short series about interesting skills coded into Skynet. Of bots whose source I have, the three candidates for Bot With the Most Hand-Coded Skills are ICEbot, Skynet, and Tscmoo, and Skynet is the easiest to read.

As an appetizer, here is a comment from TaskManagerClass::getPriorityList, which sorts tasks related to build order, research and production into priority order:

	// If I am vulnerable to counter attack / have no map control, place defense higher
	// If I am not behind on army size but its not safe to attack, tech
	// If I am not behind on army size but its safe to attack, produce
	// If I'm behind on army supply, produce

The ideas in the comment are not implemented. Skynet is already one of the cleverest bots in adapting its build to the game situation. Imagine how much cleverer it could be if Andrew Smith had had enough time to implement these ideas.

Tomorrow: Killing undetected lurkers.

Trackbacks

No Trackbacks

Comments

LetaBot on :

My bot does so through simple heuristics at the moment. Check out LetaBot CIG 2016 when it plays versus a protoss

Jay Scott on :

Cool, I’ll check it out when it comes up. Can you share experience on how much it helps? Was it worth it to write the heuristics?

Jay Scott on :

Ha ha, no sooner did I reply than a game came up LetaBot CIG 2016 - Carsten Nielsen. The zealot pressure was on the verge of breaking LetaBot’s natural, but LetaBot adapted well, countering zealots with firebats and vultures and adding a not-strictly-necessary bunker at the front to lock it down tight. After the natural was secured came a short buildup phase, and then LetaBot won easily.

krasi0 on :

I really like your bot "dissections". As most people won't have the time or patience to weed through each bot's source code, such summaries are always curious to read. Keep up the good work! :)

BTW, if you'd like to watch some specific opponents playing on SSCAIT, give me a call on IRC :)

Add Comment

E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Form options

Submitted comments will be subject to moderation before being displayed.