{
  "Bot Info": {
    "BotName": "AITP",
    "Authors": "Yang Xia",
    "PrintInfoOnStart": false
  },

  "BWAPI": {
    "SetLocalSpeed": 0,
    "SetFrameSkip": 0,
    "UserInput": false,
    "CompleteMapInformation": false
  },

  "Micro": {
    "KiteWithRangedUnits": true,
    "WorkersDefendRush": true,
    "RetreatMeleeUnitShields": 6,
    "RetreatMeleeUnitHP": {
      "Zerg": 8,
      "Protoss": 18
    },
    "CombatSimRadius": 256,
    "ScoutDefenseRadius": { "Terran": 500 }
  },

  "Macro": {
    "BOSSFrameLimit": 160,
    "ProductionJamFrameLimit": 1440,
    "WorkersPerRefinery": 3,
    "WorkersPerPatch": {
      "Zerg": 1.6,
      "Protoss": 2.0,
      "Terran": 2.0
    },
    "AbsoluteMaxWorkers": 75,
    "BuildingSpacing": 1,
    "PylonSpacing": 3
  },

  "Debug": {
    "DrawGameInfo": true,
    "DrawUnitHealthBars": false,
    "DrawProductionInfo": true,
    "DrawBuildOrderSearchInfo": false,
    "DrawQueueFixInfo": false,
    "DrawScoutInfo": false,
    "DrawEnemyUnitInfo": false,
    "DrawHiddenEnemies": false,
    "DrawModuleTimers": false,
    "DrawResourceInfo": false,
    "DrawCombatSimInfo": true,
    "DrawUnitTargetInfo": false,
    "DrawUnitOrders": false,
    "DrawMapInfo": false,
    "DrawMapGrid": false,
    "DrawMapDistances": false,
    "DrawBaseInfo": false,
    "DrawStrategyBossInfo": false,
    "DrawSquadInfo": true,
    "DrawClusters": true,
    "DrawWorkerInfo": false,
    "DrawMouseCursorInfo": true,
    "DrawBuildingInfo": false,
    "DrawReservedBuildingTiles": false,
    "DrawBOSSStateInfo": false
  },

  "Tools": {
    "MapGridSize": 320
  },

  "IO": {
    "ErrorLogFilename": "bwapi-data/write/AITP_ErrorLog.txt",
    "LogAssertToErrorFile": true,

    "ReadDirectory": "bwapi-data/read/",
    "WriteDirectory": "bwapi-data/write/",

    "MaxGameRecords": 100,

    "ReadOpponentModel": true,
    "WriteOpponentModel": true
  },



  "Strategy": {
    "ScoutHarassEnemy": false,
    "AutoGasSteal": true,
    "RandomGasStealRate": 0.0,
    "UsePlanRecognizer": true,
    "SurrenderWhenHopeIsLost": true,


    "TvT": {
      "Terran": [
        {
          "Weight": 40,
          "Strategy": "A3-B5-C1"
        },
        {
          "Weight": 0,
          "Strategy": "A1-B1-B2-C2"
        },
        {
          "Weight": 60,
          "Strategy": "A4-B2-C1"
        }
      ]
    },

    "TvP": {
      "Terran": [
        {
          "Weight": 10,
          "Strategy": "A3-B5-C1"
        },
        {
          "Weight": 40,
          "Strategy": "A3-B7-C1"
        },
        {
          "Weight": 0,
          "Strategy": "A1-B1-B2-C2"
        },
        {
          "Weight": 50,
          "Strategy": "A4-B2-C1"
        }
      ]
    },

    "TvZ": {
      "Terran": [
        {
          "Weight": 10,
          "Strategy": "A1-B3-C2"
        },
        {
          "Weight": 50,
          "Strategy": "A3-B7-C1"
        },
        {
          "Weight": 10,
          "Strategy": "A3-B5-C1"
        },
        {
          "Weight": 0,
          "Strategy": "A1-B1-B2-C2"
        },
        {
          "Weight": 30,
          "Strategy": "A4-B2-C1"
        }
      ]
    },

    "TvU": {
      "Terran": [
        {
          "Weight": 40,
          "Strategy": "A1-B3-C2"
        },
        {
          "Weight": 0,
          "Strategy": "A3-B5-C1"
        },
        {
          "Weight": 0,
          "Strategy": "A3-B7-C1"
        },
        {
          "Weight": 60,
          "Strategy": "A4-B2-C1"
        }
      ]
    },

    "UseEnemySpecificStrategy": false,

    "EnemySpecificStrategy": {},

    "CounterStrategies": {

      "Counter Worker rush": "A1-B3-C2",
      "Counter Fast rush vZ": "A1-B3-C2"
    },

    "Strategies": {

      "A1-B3-C2": {
        "Race": "Terran",
        "OpeningGroup": "AntiRush",
        "OpeningBuildOrder": [ "SCV" ]
      },
      "A1-B1-B2-C2": {
        "Race": "Terran",
        "OpeningGroup": "Rush",
        "OpeningBuildOrder": [ "SCV" ]
      },
      "A3-B5-C1": {
        "Race": "Terran",
        "OpeningGroup": "NoneBunker",
        "OpeningBuildOrder": [ "4 x SCV" ]
      },
      "A3-B7-C1": {
        "Race": "Terran",
        "OpeningGroup": "NoneBunker",
        "OpeningBuildOrder": [ "4 x SCV" ]
      },
      "A4-B2-C1": {
        "Race": "Terran",
        "OpeningGroup": "8BB",
        "OpeningBuildOrder": [ "4 x SCV" ]
      }
    }
  }
}