Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/correlation-one/C1GamesStarterKit
/ functions
Functions
449 in github.com/correlation-one/C1GamesStarterKit
⨍
Functions
449
◇
Types & classes
20
↓ 2 callers
Function
u
()
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 2 callers
Method
update
(self, i=0)
scripts/contributions/watch_replay.py:1040
↓ 2 callers
Function
updateFunc
( i )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:4004
↓ 2 callers
Method
upgrade
(self)
python-algo/gamelib/unit.py:64
↓ 2 callers
Function
ut
()
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 2 callers
Method
val_to_frame_turn
(self, val)
scripts/contributions/watch_replay.py:910
↓ 1 callers
Function
Animation
( elem, properties, options )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:7533
↓ 1 callers
Function
Ce
(d,h,g,v,y,e)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 1 callers
Function
Dt
(n,e,r,i)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 1 callers
Function
Ee
(e)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 1 callers
Function
Je
(e,t,n)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 1 callers
Function
K
(a,c)
python-algo/documentation/_build/html/_static/underscore.js:29
↓ 1 callers
Method
__empty_grid
(self)
python-algo/gamelib/game_map.py:70
↓ 1 callers
Method
__empty_grid
(self)
scripts/contributions/watch_replay.py:1121
↓ 1 callers
Method
__latest_replays
(self, num=1, a=False)
scripts/contributions/get_results.py:595
↓ 1 callers
Method
__latest_replays
(self, num=1, a=False)
scripts/contributions/watch_replay.py:1208
↓ 1 callers
Method
__parse_state
Fills in map based on the serialized game state so that self.game_map[x,y] is a list of GameUnits at that location. state_line is the
python-algo/gamelib/game_state.py:101
↓ 1 callers
Method
__serialize_type
(self)
python-algo/gamelib/unit.py:49
↓ 1 callers
Method
_better_direction
Compare two tiles and return True if the unit would rather move to the new one
python-algo/gamelib/navigation.py:255
↓ 1 callers
Method
_choose_next_move
Given the current location and adjacent locations, return the best 'next step' for a given unit to take
python-algo/gamelib/navigation.py:221
↓ 1 callers
Method
_get_path
Once all nodes are validated, and a target is found, the unit can path to its target
python-algo/gamelib/navigation.py:197
↓ 1 callers
Method
_idealness_search
Finds the most ideal tile in our 'pocket' of pathable space. The edge if it is available, or the best self destruct location otherwi
python-algo/gamelib/navigation.py:82
↓ 1 callers
Method
_print_justified
Prints a number between 100 and -10 in 3 spaces
python-algo/gamelib/navigation.py:309
↓ 1 callers
Method
_validate
Breadth first search of the grid, setting the pathlengths of each node
python-algo/gamelib/navigation.py:161
↓ 1 callers
Function
addToWrapper
(name, func)
python-algo/documentation/_build/html/_static/underscore-1.3.1.js:957
↓ 1 callers
Method
add_bar
(y_pos, data, lbls, y_ticks, y_label, title, rot=60)
scripts/contributions/get_results.py:295
↓ 1 callers
Method
add_to_plot
(data, lbl, xlabel, y_label)
scripts/contributions/get_results.py:284
↓ 1 callers
Function
ajaxConvert
( s, response, jqXHR, isSuccess )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:9180
↓ 1 callers
Function
ajaxHandleResponses
( s, jqXHR, responses )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:9122
↓ 1 callers
Method
attempt_upgrade
Attempts to upgrade units in the given locations. Args: locations: A single location or list of locations to upgrade units at
python-algo/gamelib/game_state.py:416
↓ 1 callers
Method
backwards
(self)
scripts/contributions/watch_replay.py:954
↓ 1 callers
Function
buildParams
( prefix, obj, traditional, add )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:8885
↓ 1 callers
Method
build_defences
Build basic defenses using hardcoded locations. Remember to defend corners and avoid placing units in the front where enemy demolishe
python-algo/algo_strategy.py:104
↓ 1 callers
Method
build_reactive_defense
This function builds reactive defenses based on where the enemy scored on us from. We can track where the opponent scored by looking
python-algo/algo_strategy.py:123
↓ 1 callers
Method
check_end_of_game
(self)
scripts/contributions/watch_replay.py:1068
↓ 1 callers
Method
clear_info
(self)
scripts/contributions/watch_replay.py:569
↓ 1 callers
Function
createButtonPseudo
* Returns a function to use in pseudos for buttons * @param {String} type
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:1008
↓ 1 callers
Function
createInputPseudo
* Returns a function to use in pseudos for input types * @param {String} type
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:997
↓ 1 callers
Function
createOptions
( options )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:3423
↓ 1 callers
Function
createTween
( value, prop, animation )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:7310
↓ 1 callers
Method
create_algos
(self, algos)
scripts/contributions/get_results.py:540
↓ 1 callers
Method
create_animation
(self, writer, name, given_ext)
scripts/contributions/watch_replay.py:764
↓ 1 callers
Method
create_patches
(self, count, ax)
scripts/contributions/watch_replay.py:330
↓ 1 callers
Method
create_unit
(self, unit_type, pos, stability, p_index, ID, count, ax)
scripts/contributions/watch_replay.py:454
↓ 1 callers
Function
ct
(e,t,n)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 1 callers
Method
data_stream
(self)
scripts/contributions/watch_replay.py:999
↓ 1 callers
Function
de
(t)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 1 callers
Method
demolisher_line_strategy
Build a line of the cheapest stationary unit so our demolisher can attack from long range.
python-algo/algo_strategy.py:157
↓ 1 callers
Method
detect_enemy_unit
(self, game_state, unit_type=None, valid_x = None, valid_y = None)
python-algo/algo_strategy.py:198
↓ 1 callers
Method
disp_data
(self, options, replay)
scripts/contributions/get_results.py:420
↓ 1 callers
Method
disp_reference
(self, slider_exists)
scripts/contributions/watch_replay.py:596
↓ 1 callers
Method
disp_static
(self, endStats)
scripts/contributions/watch_replay.py:576
↓ 1 callers
Function
displayNextItem
()
python-algo/documentation/_build/html/_static/searchtools.js:247
↓ 1 callers
Function
eq
(a, b, stack)
python-algo/documentation/_build/html/_static/underscore-1.3.1.js:669
↓ 1 callers
Function
expectSync
( elem, type )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:5111
↓ 1 callers
Method
filter_blocked_locations
(self, locations, game_state)
python-algo/algo_strategy.py:207
↓ 1 callers
Method
find_path_to_edge
Gets the path a unit at a given location would take. If final point is not on an edge, it is a self destruct path Args:
python-algo/gamelib/game_state.py:478
↓ 1 callers
Function
fixInput
( src, dest )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:6034
↓ 1 callers
Function
ft
(o,e,t)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 1 callers
Method
gen_frames
(self)
scripts/contributions/watch_replay.py:1049
↓ 1 callers
Function
getData
( data )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:4401
↓ 1 callers
Function
getDefaultDisplay
( elem )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:4806
↓ 1 callers
Method
get_algo_win_summary
(self)
scripts/contributions/get_results.py:575
↓ 1 callers
Method
get_algos
(self)
scripts/contributions/get_results.py:559
↓ 1 callers
Method
get_average
(self, arg, replay)
scripts/contributions/get_results.py:349
↓ 1 callers
Method
get_bits_spent
(self, algo, spawn)
scripts/contributions/get_results.py:485
↓ 1 callers
Function
get_command
Gets input from stdin
python-algo/gamelib/util.py:7
↓ 1 callers
Method
get_cores_on_board
(self, filters, encryptors, destructors)
scripts/contributions/get_results.py:482
↓ 1 callers
Method
get_cores_spent
(self, algo, spawn)
scripts/contributions/get_results.py:492
↓ 1 callers
Method
get_edges
Gets all of the edges and their edge locations Returns: A list with four lists inside of it of locations corresponding to the fou
python-algo/gamelib/game_map.py:123
↓ 1 callers
Method
get_extension
(self, writer, given_ext)
scripts/contributions/watch_replay.py:775
↓ 1 callers
Function
get_graph_options
(options)
scripts/contributions/get_results.py:677
↓ 1 callers
Method
get_target_edge
Gets the target edge given a starting location Args: start_location: The location of a hypothetical unit Returns:
python-algo/gamelib/game_state.py:455
↓ 1 callers
Method
get_turn
(self, turn, frame=-1)
scripts/contributions/get_results.py:566
↓ 1 callers
Method
get_valid_turns
(self)
scripts/contributions/get_results.py:562
↓ 1 callers
Function
he
(n)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 1 callers
Method
hide_graph
(self)
scripts/contributions/watch_replay.py:592
↓ 1 callers
Function
highlight
(node, addItems)
python-algo/documentation/_build/html/_static/doctools.js:69
↓ 1 callers
Method
hp_to_angle
(self, stability)
scripts/contributions/watch_replay.py:373
↓ 1 callers
Method
in_arena_bounds
Checks if the given location is inside the diamond shaped game board. Args: * location: A map location Returns: True if the location is on
scripts/contributions/watch_replay.py:1094
↓ 1 callers
Method
initialize_map
Initializes the map Args: game_state: A GameState object representing the gamestate we want to traverse
python-algo/gamelib/navigation.py:44
↓ 1 callers
Method
least_damage_spawn_location
This function will help us guess which location is the safest to spawn moving units from. It gets the path the unit will take then ch
python-algo/algo_strategy.py:179
↓ 1 callers
Method
load_data
(self)
scripts/contributions/get_results.py:463
↓ 1 callers
Method
load_data
(self)
scripts/contributions/watch_replay.py:1165
↓ 1 callers
Method
load_files
(self, num=1, a=False, f_names=[])
scripts/contributions/get_results.py:603
↓ 1 callers
Function
main
(args)
scripts/contributions/watch_replay.py:1287
↓ 1 callers
Function
matcherFromGroupMatchers
( elementMatchers, setMatchers )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:2667
↓ 1 callers
Function
matcherFromTokens
( tokens )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:2604
↓ 1 callers
Function
mightThrow
()
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:3752
↓ 1 callers
Function
multipleContexts
( selector, contexts, results )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:2474
↓ 1 callers
Method
navigate_multiple_endpoints
Finds the path a unit would take to reach a set of endpoints Args: * start_point: The starting location of the unit *
python-algo/gamelib/navigation.py:55
↓ 1 callers
Method
number_affordable
The number of units of a given type we can afford Args: unit_type: A unit type, SCOUT, WALL, etc. Returns: T
python-algo/gamelib/game_state.py:227
↓ 1 callers
Method
on_action_frame
After each deploy phase, the game engine will run the action phase of the round. The action phase is made up of a sequence of distinc
python-algo/gamelib/algocore.py:37
↓ 1 callers
Method
on_game_start
This function is called once at the start of the game. By default, it just initializes the config. \n You can override it it
python-algo/gamelib/algocore.py:18
↓ 1 callers
Method
on_turn
This step function is called at the start of each turn. It is passed the current game state, which can be used to initiate a new Game
python-algo/gamelib/algocore.py:26
↓ 1 callers
Function
parse_args
()
scripts/contributions/get_results.py:204
↓ 1 callers
Function
parse_args
()
scripts/contributions/run_arena.py:146
↓ 1 callers
Function
parse_args
()
scripts/contributions/watch_replay.py:272
↓ 1 callers
Method
plot_references
(self)
scripts/contributions/watch_replay.py:1085
↓ 1 callers
Method
plot_text
(self, txt, pos, ax)
scripts/contributions/watch_replay.py:523
← previous
next →
201–300 of 449, ranked by callers