TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: AI Planning for Starcraft

78 pointsby primaryobjectsover 10 years ago

6 comments

ggreerover 10 years ago
These planning algorithms are pretty cool, and they got me thinking about AIs in RTS tournaments. RTS games seem like a perfect fit for human&#x2F;computer pairs. Automation would completely change micro. The computer reacts instantly, has perfect accuracy, and never gets tired or distracted. It would enable tactics that no human could perform unaided. The human would have fewer distractions while making strategic decisions that current RTS AIs are terrible at: Where to build, where to mass units, defense placement, etc.<p>I looked around a little, but didn&#x27;t find any StarCraft-equivalent to Advanced Chess[1]. If such a thing doesn&#x27;t exist, it&#x27;s a shame. The combination of better strategy and ludicrous APM would completely change gameplay.<p>1. <a href="http://en.wikipedia.org/wiki/Advanced_Chess" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Advanced_Chess</a>
评论 #8988434 未加载
评论 #8988466 未加载
评论 #8989668 未加载
评论 #8989035 未加载
评论 #8989122 未加载
评论 #8989548 未加载
评论 #8988374 未加载
Ivover 10 years ago
Don&#x27;t get me wrong, I find it very cool that people try to popularize STRIPS planning among programmers and that automated planning gets more known. However, please don&#x27;t say that you can &quot;solve&quot; Starcraft this way.<p>To get a decent starcraft AI you will need more than the ability to make plans to build battlecruisers: you will need the ability to choose the best plan for the recognized situation, to take decisions under uncertainty and to make compromises between objectives.
评论 #8989360 未加载
noivover 10 years ago
Interesting. Although going over an abstract representation harms the performance in a RTS game. I finally chose Nau&#x27;s HTN planner to plan entire villages in a few milliseconds. The core in JavaScript fits on one screen page:<p><a href="https://github.com/agentx-cgn/Hannibal/blob/master/source/simulation/ai/hannibal/htn-planner.js#L112" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;agentx-cgn&#x2F;Hannibal&#x2F;blob&#x2F;master&#x2F;source&#x2F;si...</a>
erikbover 10 years ago
I&#x27;m very happy that another guy got interested in AI and is backing it up with some code. Keep up the good work! But maybe join a free web AI course if you are really interested in this topic. A* on a decision graph is really an old thing for AI. Sorry to disappoint. It&#x27;s one of the things you do for homework if you visit an AI course.
pestsover 10 years ago
Note: This is not only related to Starcraft but planning problems in general. Starcraft is just one of the examples.
ljkover 10 years ago
usually players build multiple SCVs to speed things up. Is there a reason why there&#x27;s only one mining?
评论 #8988446 未加载
评论 #8988377 未加载