Skip to content

Structure and Life Cycle

DrInfy edited this page Apr 21, 2020 · 5 revisions

life cycle

Structure

Sharpy bots are split between 4 major parts.

  • KnowledgeBot is the entry point for all bots and it inherits sc2.BotAI object from python-sc2 and contains all the information the python-sc2 API gives the bot
  • Knowledge is a container for the derivative data and information within the bot that's handled by sharpy
  • Managers function inside Knowledge to gather data and information about the parsed game state
  • Plans should contain the logic for telling your units what to do
Clone this wiki locally