MCPcopy Create free account

hub / github.com/correlation-one/C1GamesStarterKit / functions

Functions449 in github.com/correlation-one/C1GamesStarterKit

↓ 2 callersFunctionu
()
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 2 callersMethodupdate
(self, i=0)
scripts/contributions/watch_replay.py:1040
↓ 2 callersFunctionupdateFunc
( i )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:4004
↓ 2 callersMethodupgrade
(self)
python-algo/gamelib/unit.py:64
↓ 2 callersFunctionut
()
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 2 callersMethodval_to_frame_turn
(self, val)
scripts/contributions/watch_replay.py:910
↓ 1 callersFunctionAnimation
( elem, properties, options )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:7533
↓ 1 callersFunctionCe
(d,h,g,v,y,e)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 1 callersFunctionDt
(n,e,r,i)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 1 callersFunctionEe
(e)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 1 callersFunctionJe
(e,t,n)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 1 callersFunctionK
(a,c)
python-algo/documentation/_build/html/_static/underscore.js:29
↓ 1 callersMethod__empty_grid
(self)
python-algo/gamelib/game_map.py:70
↓ 1 callersMethod__empty_grid
(self)
scripts/contributions/watch_replay.py:1121
↓ 1 callersMethod__latest_replays
(self, num=1, a=False)
scripts/contributions/get_results.py:595
↓ 1 callersMethod__latest_replays
(self, num=1, a=False)
scripts/contributions/watch_replay.py:1208
↓ 1 callersMethod__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 callersMethod__serialize_type
(self)
python-algo/gamelib/unit.py:49
↓ 1 callersMethod_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 callersMethod_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 callersMethod_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 callersMethod_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 callersMethod_print_justified
Prints a number between 100 and -10 in 3 spaces
python-algo/gamelib/navigation.py:309
↓ 1 callersMethod_validate
Breadth first search of the grid, setting the pathlengths of each node
python-algo/gamelib/navigation.py:161
↓ 1 callersFunctionaddToWrapper
(name, func)
python-algo/documentation/_build/html/_static/underscore-1.3.1.js:957
↓ 1 callersMethodadd_bar
(y_pos, data, lbls, y_ticks, y_label, title, rot=60)
scripts/contributions/get_results.py:295
↓ 1 callersMethodadd_to_plot
(data, lbl, xlabel, y_label)
scripts/contributions/get_results.py:284
↓ 1 callersFunctionajaxConvert
( s, response, jqXHR, isSuccess )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:9180
↓ 1 callersFunctionajaxHandleResponses
( s, jqXHR, responses )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:9122
↓ 1 callersMethodattempt_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 callersMethodbackwards
(self)
scripts/contributions/watch_replay.py:954
↓ 1 callersFunctionbuildParams
( prefix, obj, traditional, add )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:8885
↓ 1 callersMethodbuild_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 callersMethodbuild_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 callersMethodcheck_end_of_game
(self)
scripts/contributions/watch_replay.py:1068
↓ 1 callersMethodclear_info
(self)
scripts/contributions/watch_replay.py:569
↓ 1 callersFunctioncreateButtonPseudo
* 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 callersFunctioncreateInputPseudo
* 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 callersFunctioncreateOptions
( options )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:3423
↓ 1 callersFunctioncreateTween
( value, prop, animation )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:7310
↓ 1 callersMethodcreate_algos
(self, algos)
scripts/contributions/get_results.py:540
↓ 1 callersMethodcreate_animation
(self, writer, name, given_ext)
scripts/contributions/watch_replay.py:764
↓ 1 callersMethodcreate_patches
(self, count, ax)
scripts/contributions/watch_replay.py:330
↓ 1 callersMethodcreate_unit
(self, unit_type, pos, stability, p_index, ID, count, ax)
scripts/contributions/watch_replay.py:454
↓ 1 callersFunctionct
(e,t,n)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 1 callersMethoddata_stream
(self)
scripts/contributions/watch_replay.py:999
↓ 1 callersFunctionde
(t)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 1 callersMethoddemolisher_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 callersMethoddetect_enemy_unit
(self, game_state, unit_type=None, valid_x = None, valid_y = None)
python-algo/algo_strategy.py:198
↓ 1 callersMethoddisp_data
(self, options, replay)
scripts/contributions/get_results.py:420
↓ 1 callersMethoddisp_reference
(self, slider_exists)
scripts/contributions/watch_replay.py:596
↓ 1 callersMethoddisp_static
(self, endStats)
scripts/contributions/watch_replay.py:576
↓ 1 callersFunctiondisplayNextItem
()
python-algo/documentation/_build/html/_static/searchtools.js:247
↓ 1 callersFunctioneq
(a, b, stack)
python-algo/documentation/_build/html/_static/underscore-1.3.1.js:669
↓ 1 callersFunctionexpectSync
( elem, type )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:5111
↓ 1 callersMethodfilter_blocked_locations
(self, locations, game_state)
python-algo/algo_strategy.py:207
↓ 1 callersMethodfind_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 callersFunctionfixInput
( src, dest )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:6034
↓ 1 callersFunctionft
(o,e,t)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 1 callersMethodgen_frames
(self)
scripts/contributions/watch_replay.py:1049
↓ 1 callersFunctiongetData
( data )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:4401
↓ 1 callersFunctiongetDefaultDisplay
( elem )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:4806
↓ 1 callersMethodget_algo_win_summary
(self)
scripts/contributions/get_results.py:575
↓ 1 callersMethodget_algos
(self)
scripts/contributions/get_results.py:559
↓ 1 callersMethodget_average
(self, arg, replay)
scripts/contributions/get_results.py:349
↓ 1 callersMethodget_bits_spent
(self, algo, spawn)
scripts/contributions/get_results.py:485
↓ 1 callersFunctionget_command
Gets input from stdin
python-algo/gamelib/util.py:7
↓ 1 callersMethodget_cores_on_board
(self, filters, encryptors, destructors)
scripts/contributions/get_results.py:482
↓ 1 callersMethodget_cores_spent
(self, algo, spawn)
scripts/contributions/get_results.py:492
↓ 1 callersMethodget_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 callersMethodget_extension
(self, writer, given_ext)
scripts/contributions/watch_replay.py:775
↓ 1 callersFunctionget_graph_options
(options)
scripts/contributions/get_results.py:677
↓ 1 callersMethodget_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 callersMethodget_turn
(self, turn, frame=-1)
scripts/contributions/get_results.py:566
↓ 1 callersMethodget_valid_turns
(self)
scripts/contributions/get_results.py:562
↓ 1 callersFunctionhe
(n)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 1 callersMethodhide_graph
(self)
scripts/contributions/watch_replay.py:592
↓ 1 callersFunctionhighlight
(node, addItems)
python-algo/documentation/_build/html/_static/doctools.js:69
↓ 1 callersMethodhp_to_angle
(self, stability)
scripts/contributions/watch_replay.py:373
↓ 1 callersMethodin_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 callersMethodinitialize_map
Initializes the map Args: game_state: A GameState object representing the gamestate we want to traverse
python-algo/gamelib/navigation.py:44
↓ 1 callersMethodleast_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 callersMethodload_data
(self)
scripts/contributions/get_results.py:463
↓ 1 callersMethodload_data
(self)
scripts/contributions/watch_replay.py:1165
↓ 1 callersMethodload_files
(self, num=1, a=False, f_names=[])
scripts/contributions/get_results.py:603
↓ 1 callersFunctionmain
(args)
scripts/contributions/watch_replay.py:1287
↓ 1 callersFunctionmatcherFromGroupMatchers
( elementMatchers, setMatchers )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:2667
↓ 1 callersFunctionmatcherFromTokens
( tokens )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:2604
↓ 1 callersFunctionmightThrow
()
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:3752
↓ 1 callersFunctionmultipleContexts
( selector, contexts, results )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:2474
↓ 1 callersMethodnavigate_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 callersMethodnumber_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 callersMethodon_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 callersMethodon_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 callersMethodon_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 callersFunctionparse_args
()
scripts/contributions/get_results.py:204
↓ 1 callersFunctionparse_args
()
scripts/contributions/run_arena.py:146
↓ 1 callersFunctionparse_args
()
scripts/contributions/watch_replay.py:272
↓ 1 callersMethodplot_references
(self)
scripts/contributions/watch_replay.py:1085
↓ 1 callersMethodplot_text
(self, txt, pos, ax)
scripts/contributions/watch_replay.py:523
← previousnext →201–300 of 449, ranked by callers