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
↓ 1 callers
Method
collect_vespen
(self, units)
tstarbot/data/demo_dc.py:203
↓ 1 callers
Function
compute_dist
(x, y, array)
tstarbot/data/pool/map_tool.py:23
↓ 1 callers
Method
consume_target
(u, target)
tstarbot/combat/micro/viper_micro.py:40
↓ 1 callers
Method
corrosive_attack_pos
(u, pos)
tstarbot/combat/micro/ravager_micro.py:19
↓ 1 callers
Function
create_placer
(name)
tstarbot/building/placer.py:763
↓ 1 callers
Method
default_act_v2
(self, u, pos, mode)
tstarbot/combat/micro/micro_mgr.py:96
↓ 1 callers
Method
detect_dead_lock
(self, data_context)
tstarbot/production_strategy/base_production_mgr.py:140
↓ 1 callers
Function
dist
return Euclidean distance ||unit1 - unit2||
tstarbot/util/geom.py:16
↓ 1 callers
Method
dist_between_coordinates
(pos1, pos2)
tstarbot/combat/micro/micro_base.py:262
↓ 1 callers
Method
distance
(self, pos1, pos2)
tstarbot/scout/tasks/force_scout.py:180
↓ 1 callers
Method
do_task
(self, view_enemys, dc)
tstarbot/scout/tasks/scout_task.py:33
↓ 1 callers
Method
draw
(self, squads, enemy_clusters, commands)
tstarbot/combat_strategy/renderer.py:51
↓ 1 callers
Method
draw_line
(self, color, start_world_pos, end_world_pos, width=1)
tstarbot/combat_strategy/renderer.py:33
↓ 1 callers
Method
employ_combat_unit
(self, employ_status, unit_type)
tstarbot/data/pool/combat_pool.py:85
↓ 1 callers
Method
enemy_bases
(self)
tstarbot/data/pool/scout_pool.py:87
↓ 1 callers
Method
exe
(self, dc, u, pos, mode)
tstarbot/combat/micro/micro_mgr.py:36
↓ 1 callers
Method
exe_attack
(self, squad, pos)
tstarbot/combat/combat_mgr.py:67
↓ 1 callers
Method
exe_cmd
(self, squad, pos, mode)
tstarbot/combat/combat_mgr.py:53
↓ 1 callers
Method
exe_defend
(self, squad, pos)
tstarbot/combat/combat_mgr.py:77
↓ 1 callers
Method
exe_move
(self, squad, pos)
tstarbot/combat/combat_mgr.py:87
↓ 1 callers
Method
exe_rally
(self, squad, pos)
tstarbot/combat/combat_mgr.py:97
↓ 1 callers
Method
exe_rock
(self, squad, pos)
tstarbot/combat/combat_mgr.py:103
↓ 1 callers
Method
execute
(self)
tstarbot/sandbox/agents/rule_micro_agent.py:70
↓ 1 callers
Method
execute
(self)
tstarbot/sandbox/agents/demo_bot.py:51
↓ 1 callers
Method
expand
(self, drones, pos)
tstarbot/sandbox/building_mgr.py:131
↓ 1 callers
Function
extract_slope
(x, y, pathing, placement, height)
tstarbot/data/pool/map_tool.py:95
↓ 1 callers
Method
find_base_owner_cluster
(self, base_unit)
tstarbot/data/pool/base_pool.py:208
↓ 1 callers
Method
find_base_pos
(self, dc)
tstarbot/production_strategy/base_zerg_production_mgr.py:336
↓ 1 callers
Method
find_base_pos
(self, hatcheries, dc)
tstarbot/sandbox/building_mgr.py:146
↓ 1 callers
Method
find_base_to_build
(self, bases)
tstarbot/production_strategy/base_zerg_production_mgr.py:251
↓ 1 callers
Method
find_base_to_build_extractor
(self, bases)
tstarbot/production_strategy/base_zerg_production_mgr.py:227
↓ 1 callers
Method
find_base_to_build_spinecrawler
(self, bases)
tstarbot/production_strategy/base_zerg_production_mgr.py:264
↓ 1 callers
Method
find_base_to_produce_drone
(self, bases)
tstarbot/production_strategy/base_zerg_production_mgr.py:277
↓ 1 callers
Method
find_base_to_produce_queue
(self, bases)
tstarbot/production_strategy/base_zerg_production_mgr.py:290
↓ 1 callers
Method
find_base_to_produce_unit
(bases)
tstarbot/production_strategy/base_zerg_production_mgr.py:310
↓ 1 callers
Function
find_by_tag
(units, tag)
tstarbot/util/unit.py:23
↓ 1 callers
Method
find_cruise_target
(self)
tstarbot/data/pool/scout_pool.py:194
↓ 1 callers
Method
find_densest_air_enemy_unit_in_range
(self, u)
tstarbot/combat/micro/viper_micro.py:68
↓ 1 callers
Method
find_densest_enemy_pos_in_range
(self, u)
tstarbot/combat/micro/viper_micro.py:48
↓ 1 callers
Method
find_densest_enemy_pos_in_range
(self, u)
tstarbot/combat/micro/infestor_micro.py:27
↓ 1 callers
Method
find_densest_enemy_pos_in_range
(self, u)
tstarbot/combat/micro/ravager_micro.py:28
↓ 1 callers
Method
find_enemy_combat_units
(emeny_units)
tstarbot/combat/micro/micro_base.py:201
↓ 1 callers
Method
find_enemy_subbase_target
(self)
tstarbot/data/pool/scout_pool.py:200
↓ 1 callers
Method
find_forced_scout_target
(self)
tstarbot/data/pool/scout_pool.py:249
↓ 1 callers
Method
find_furthest_idle_target
(self)
tstarbot/data/pool/scout_pool.py:222
↓ 1 callers
Method
find_ideal_base_position
(self, m_pos, g_pos)
tstarbot/data/pool/base_pool.py:280
↓ 1 callers
Function
find_knn
(units, unit, k=1)
tstarbot/sandbox/resource_mgr_old2.py:41
↓ 1 callers
Function
find_n_if
(units, n, f=lambda x: True)
tstarbot/util/unit.py:62
↓ 1 callers
Function
find_nearest
(units, unit)
tstarbot/sandbox/resource_mgr_old2.py:31
↓ 1 callers
Function
find_nearest
find the nearest one (in l2-norm) to 'unit' within the list 'units'
tstarbot/util/unit.py:49
↓ 1 callers
Function
find_nearest_l1
find the nearest one (in l1-norm) to 'unit' within the list 'units'
tstarbot/util/unit.py:30
↓ 1 callers
Method
find_resource_area
(self, mtags, gtags, all_minerals, all_gas)
tstarbot/data/pool/base_pool.py:236
↓ 1 callers
Method
find_strongest_unit
(self)
tstarbot/sandbox/agents/rule_micro_agent.py:132
↓ 1 callers
Method
find_weakest_enemy
(self, enemies)
tstarbot/sandbox/agents/rule_micro_agent.py:123
↓ 1 callers
Method
find_weakest_enemy
(enemies)
tstarbot/combat/micro/micro_base.py:183
↓ 1 callers
Method
food_used
(self)
tstarbot/production_strategy/base_production_mgr.py:182
↓ 1 callers
Function
func_is_harvesting_local_vb
(base_instance)
tstarbot/resource/resource_mgr.py:42
↓ 1 callers
Function
func_is_harvesting_vb
(extractor)
tstarbot/resource/resource_mgr.py:50
↓ 1 callers
Method
fungal_growth_attack_pos
(u, pos)
tstarbot/combat/micro/infestor_micro.py:18
↓ 1 callers
Method
get_gas_tags
(self)
tstarbot/data/pool/base_pool.py:40
↓ 1 callers
Method
get_goal
(self, dc)
tstarbot/production_strategy/base_production_mgr.py:268
↓ 1 callers
Method
get_marines
(self)
tstarbot/sandbox/agents/rule_micro_agent.py:55
↓ 1 callers
Method
get_mineral_tags
(self)
tstarbot/data/pool/base_pool.py:33
↓ 1 callers
Method
get_opening_build_order
(self)
tstarbot/production_strategy/base_production_mgr.py:262
↓ 1 callers
Method
get_planned_pos
(self, cmd, dc)
tstarbot/building/placer.py:177
↓ 1 callers
Method
get_roaches
(self)
tstarbot/sandbox/agents/rule_micro_agent.py:58
↓ 1 callers
Function
get_slopes
get all the slopes in map
tstarbot/data/pool/map_tool.py:76
↓ 1 callers
Method
get_ultra_goal
()
tstarbot/production_strategy/prod_advarms.py:18
↓ 1 callers
Method
get_ultra_goal
()
tstarbot/production_strategy/prod_defandadv.py:18
↓ 1 callers
Method
get_view_scouts
(self)
tstarbot/data/pool/scout_pool.py:296
↓ 1 callers
Function
has_order
(unit)
tstarbot/resource/resource_mgr.py:38
↓ 1 callers
Method
hit_and_run
(self, u, pos)
tstarbot/combat/micro/queen_micro.py:44
↓ 1 callers
Method
init_config
(self, dc)
tstarbot/combat/micro/micro_mgr.py:31
↓ 1 callers
Method
is_baneling_rush
(self)
tstarbot/scout/oppo_monitor.py:84
↓ 1 callers
Function
is_building
tstarbot/building/building_mgr.py:26
↓ 1 callers
Function
is_harvesting
(unit)
tstarbot/sandbox/resource_mgr_old2.py:58
↓ 1 callers
Function
is_harvesting
(unit)
tstarbot/sandbox/resource_mgr_old3.py:60
↓ 1 callers
Method
is_health
(self)
tstarbot/data/pool/scout_pool.py:28
↓ 1 callers
Method
is_lost
(self)
tstarbot/data/pool/building_pool.py:16
↓ 1 callers
Method
is_lost
(self)
tstarbot/data/pool/combat_pool.py:45
↓ 1 callers
Method
is_queen_run_away
(self, u, closest_enemy)
tstarbot/combat/micro/queen_micro.py:38
↓ 1 callers
Method
is_roach_rush
(self)
tstarbot/scout/oppo_monitor.py:107
↓ 1 callers
Method
is_roach_suppress
(self)
tstarbot/scout/oppo_monitor.py:118
↓ 1 callers
Method
is_zerg_roach_rush
(self)
tstarbot/scout/oppo_monitor.py:95
↓ 1 callers
Method
judge_opening_tactis
(self, dc)
tstarbot/scout/oppo_monitor.py:37
↓ 1 callers
Method
judge_reverse
(self, scout)
tstarbot/scout/tasks/explor_task_rl.py:202
↓ 1 callers
Method
load_model
(model_path)
tstarbot/scout/tasks/explor_task_rl.py:73
↓ 1 callers
Function
main_func
()
tstarbot/sandbox/battle_1v1.py:290
↓ 1 callers
Method
move_drone_random_round_hatchery
(self, drone_ids, pos)
tstarbot/sandbox/resource_mgr_old2.py:140
↓ 1 callers
Method
move_drone_random_round_hatchery
(self, drone_ids, pos)
tstarbot/sandbox/resource_mgr.py:66
↓ 1 callers
Method
move_drone_random_round_hatchery
(self, drone_ids, pos)
tstarbot/sandbox/agents/demo_bot.py:58
↓ 1 callers
Method
move_drone_random_round_hatchery
(self, drone_ids, pos)
tstarbot/resource/dacing_drones_resource_mgr.py:27
↓ 1 callers
Method
move_drone_random_round_hatchery
(self, drone_ids, pos)
tstarbot/building/dancing_drones_mgr.py:30
↓ 1 callers
Method
mystep
(self, timestep)
tstarbot/agents/micro_defeat_roaches_agent.py:33
↓ 1 callers
Method
need_more_extractor
(self, data_context)
tstarbot/production_strategy/base_production_mgr.py:259
↓ 1 callers
Method
need_more_queen
(self, dc)
tstarbot/production_strategy/base_zerg_production_mgr.py:98
↓ 1 callers
Method
operate
(self)
tstarbot/sandbox/agents/rule_micro_agent.py:76
↓ 1 callers
Method
parasitic_bomb_attack_target
(u, target)
tstarbot/combat/micro/viper_micro.py:31
↓ 1 callers
Method
perform_search
(self, goal)
tstarbot/production_strategy/base_production_mgr.py:265
↓ 1 callers
Method
pos_transfer
(self, x, y)
tstarbot/scout/tasks/explor_task_rl.py:231
← previous
next →
401–500 of 927, ranked by callers