Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/TStarBot2
/ functions
Functions
927 in github.com/Tencent/TStarBot2
⨍
Functions
927
◇
Types & classes
123
Method
closest_cluster
(self)
tstarbot/data/pool/enemy_pool.py:136
Function
collect_tags
(units)
tstarbot/sandbox/resource_mgr_old2.py:20
Function
collect_tags
(units)
tstarbot/sandbox/resource_mgr_old3.py:22
Function
collect_tags
(units)
tstarbot/sandbox/resource_mgr.py:20
Method
combat_units
(self)
tstarbot/data/pool/enemy_pool.py:47
Method
contain_worker
(self, worker_tag)
tstarbot/sandbox/resource_mgr.py:124
Method
data_raw
(self)
tstarbot/data/data_context.py:50
Method
dd
(self)
tstarbot/data/data_context.py:104
Method
delete_squad
(self, squad)
tstarbot/combat_strategy/army.py:31
Function
demo
(unused_argv)
tstarbot/sandbox/bin/eval_micro.py:9
Function
demo
(unused_argv)
tstarbot/sandbox/bin/demo.py:9
Method
employ_status
(self)
tstarbot/data/pool/worker_pool.py:26
Method
enemy_clusters
(self)
tstarbot/data/pool/enemy_pool.py:118
Function
entry_point
()
tstarbot/sandbox/battle_1v1.py:310
Function
entry_point
()
tstarbot/bin/eval_agent.py:209
Method
exec_sc2
(self, sc2_actions)
tstarbot/sandbox/act_executor.py:12
Method
execute
(self)
tstarbot/sandbox/bot_base.py:10
Method
exist_any
(self, unit_type)
tstarbot/data/pool/building_pool.py:35
Function
f_impl
(w_unit)
tstarbot/resource/resource_mgr.py:43
Method
find_base_pos_aggressive
(self, dc)
tstarbot/production_strategy/base_zerg_production_mgr.py:351
Method
find_base_pos_old
(dc)
tstarbot/production_strategy/base_zerg_production_mgr.py:323
Method
find_base_with_most_workers
(self, bases)
tstarbot/production_strategy/base_zerg_production_mgr.py:239
Function
find_by_tag
(units, tag)
tstarbot/sandbox/resource_mgr_old2.py:24
Function
find_by_tag
(units, tag)
tstarbot/sandbox/resource_mgr_old3.py:26
Method
find_closest_bases
(self, u, bases)
tstarbot/combat/micro/micro_base.py:126
Function
find_nearest
(units, unit)
tstarbot/sandbox/resource_mgr_old3.py:33
Method
find_nearest_by_pos
(self, x, y)
tstarbot/data/pool/worker_pool.py:90
Method
find_nearest_by_state
(self, x, y, state)
tstarbot/data/pool/worker_pool.py:102
Method
find_nearest_n_units
(hatcheries, units, n)
tstarbot/combat/micro/micro_base.py:141
Method
gas
(self)
tstarbot/data/pool/worker_pool.py:134
Method
get_by_tag
(self, tag)
tstarbot/data/pool/combat_pool.py:82
Method
get_centroid
(units)
tstarbot/data/pool/enemy_pool.py:177
Method
get_delta_pos
(self, unit_type)
tstarbot/building/placer.py:60
Method
get_delta_pos
(self)
tstarbot/building/placer.py:124
Method
get_drones
(self)
tstarbot/data/demo_dc.py:249
Method
get_enemy_units
(self)
tstarbot/data/demo_dc.py:285
Method
get_extractor
(self)
tstarbot/data/demo_dc.py:267
Method
get_goal
(self, dc)
tstarbot/production_strategy/prod_rush.py:35
Method
get_goal
(self, dc)
tstarbot/production_strategy/prod_advarms.py:66
Method
get_goal
(self, dc)
tstarbot/production_strategy/prod_defandadv.py:64
Method
get_hatcheries
(self)
tstarbot/data/demo_dc.py:252
Method
get_hydralisk
(self)
tstarbot/data/demo_dc.py:282
Method
get_hydraliskden
(self)
tstarbot/data/demo_dc.py:279
Method
get_larvas
(self)
tstarbot/data/demo_dc.py:258
Method
get_marines
(self)
tstarbot/data/demo_dc.py:76
Method
get_minerals
(self)
tstarbot/data/demo_dc.py:255
Method
get_opening_build_order
(self)
tstarbot/production_strategy/prod_rush.py:15
Method
get_opening_build_order
(self)
tstarbot/production_strategy/prod_advarms.py:33
Method
get_opening_build_order
(self)
tstarbot/production_strategy/prod_defandadv.py:33
Method
get_planned_pos
(self, cmd, dc)
tstarbot/building/placer.py:205
Method
get_planned_pos
(self, cmd, dc)
tstarbot/building/placer.py:266
Method
get_planned_pos
(self, cmd, dc)
tstarbot/building/placer.py:365
Method
get_planned_pos
(self, cmd, dc)
tstarbot/building/placer.py:477
Method
get_planned_pos
(self, cmd, dc)
tstarbot/building/placer.py:590
Method
get_queen
(self)
tstarbot/data/demo_dc.py:261
Method
get_roaches
(self)
tstarbot/data/demo_dc.py:79
Method
get_roaches
(self)
tstarbot/data/demo_dc.py:276
Method
get_roachwarren
(self)
tstarbot/data/demo_dc.py:273
Method
get_spawningpool
(self)
tstarbot/data/demo_dc.py:264
Function
get_target_tag
(unit, idx=0)
tstarbot/sandbox/resource_mgr_old2.py:52
Function
get_target_tag
(unit, idx=0)
tstarbot/sandbox/resource_mgr_old3.py:54
Method
get_vespens
(self)
tstarbot/data/demo_dc.py:270
Method
global_to_local
(self, global_xy)
tstarbot/building/placer.py:144
Method
global_to_local
(self, global_xy)
tstarbot/building/placer.py:163
Function
has_rally_drone
(unit)
tstarbot/sandbox/resource_mgr_old2.py:70
Function
has_rally_drone
(unit)
tstarbot/sandbox/resource_mgr_old3.py:72
Method
hydralisk_units
(self)
tstarbot/combat_strategy/squad.py:59
Method
idles
(self)
tstarbot/data/pool/worker_pool.py:126
Method
initial_grid_cluster
(units)
tstarbot/data/pool/enemy_pool.py:203
Function
is_harvesting
(unit)
tstarbot/resource/resource_mgr.py:26
Method
is_run_away_v2
(self, u, closest_enemy, self_combat_units)
tstarbot/combat/micro/micro_base.py:288
Method
is_unit_in_base
(self, unit)
tstarbot/data/pool/base_pool.py:101
Method
key
(self)
tstarbot/data/demo_dc.py:42
Method
key
(self)
tstarbot/data/demo_dc.py:82
Method
list_buildings
(self, unit_type)
tstarbot/data/pool/building_pool.py:42
Method
list_scout
(self)
tstarbot/data/pool/scout_pool.py:134
Method
local_to_global
(self, local_xy)
tstarbot/building/placer.py:155
Function
main
(unused_argv)
tstarbot/sandbox/battle_1v1.py:307
Function
main
Run an agent.
tstarbot/sandbox/py_multiplayer.py:167
Function
main
Run an agent.
tstarbot/bin/eval_agent.py:181
Method
main_base_pos
(self)
tstarbot/data/pool/enemy_pool.py:114
Method
main_enemy_base
(self)
tstarbot/data/pool/scout_pool.py:94
Method
make_obs_ph
(name)
tstarbot/scout/tasks/explor_task_rl.py:84
Method
minierals
(self)
tstarbot/data/pool/worker_pool.py:130
Function
my_dist
(x_u)
tstarbot/util/unit.py:73
Method
need_more_extractor
(self, dc)
tstarbot/production_strategy/base_zerg_production_mgr.py:55
Method
num_combat_units
(self)
tstarbot/data/pool/enemy_pool.py:34
Method
num_combat_units
(self)
tstarbot/data/pool/enemy_pool.py:110
Method
num_hydralisk_units
(self)
tstarbot/combat_strategy/squad.py:43
Method
num_hydralisk_units
(self)
tstarbot/combat_strategy/army.py:48
Method
num_roach_units
(self)
tstarbot/combat_strategy/squad.py:47
Method
num_roach_units
(self)
tstarbot/combat_strategy/army.py:52
Method
num_units
(self)
tstarbot/data/pool/combat_pool.py:97
Method
num_units
(self)
tstarbot/data/pool/enemy_pool.py:26
Method
num_units
(self)
tstarbot/combat_strategy/squad.py:39
Method
num_units
(self)
tstarbot/combat_strategy/army.py:44
Method
num_worker_units
(self)
tstarbot/data/pool/enemy_pool.py:30
Method
num_worker_units
(self)
tstarbot/data/pool/enemy_pool.py:106
Method
num_zergling_units
(self)
tstarbot/combat_strategy/squad.py:51
Method
num_zergling_units
(self)
tstarbot/combat_strategy/army.py:56
← previous
next →
701–800 of 927, ranked by callers