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
↓ 44 callers
Function
jQuery
( selector, context )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:153
↓ 43 callers
Function
$
(e,t,n,r,i,o,a)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 41 callers
Function
m
(e)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 40 callers
Function
isFunction
( obj )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:77
↓ 39 callers
Function
S
(e,t)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 32 callers
Method
remove
(self)
scripts/contributions/watch_replay.py:441
↓ 21 callers
Function
t
(e)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 21 callers
Function
ve
(a)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 16 callers
Function
le
(e)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 16 callers
Method
warn
Used internally by game_state to print warnings
python-algo/gamelib/game_state.py:520
↓ 14 callers
Function
getAll
( context, tag )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:4961
↓ 14 callers
Function
l
(i,o,a,s)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 13 callers
Method
in_arena_bounds
Checks if the given location is inside the diamond shaped game board. Args: location: A map location Returns:
python-algo/gamelib/game_map.py:81
↓ 12 callers
Function
A
(e,t)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 12 callers
Function
a
(t)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 12 callers
Method
attempt_spawn
Attempts to spawn new units with the type given in the given locations. Args: unit_type: The type of unit we want to spawn
python-algo/gamelib/game_state.py:355
↓ 12 callers
Function
e
()
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 11 callers
Function
_
(obj)
python-algo/documentation/_build/html/_static/underscore-1.3.1.js:49
↓ 11 callers
Function
assert
* Support testing using an element * @param {Function} fn Passed the created element and returns a boolean result
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:932
↓ 11 callers
Function
ce
(e)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 11 callers
Function
nodeName
( elem, name )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:3025
↓ 11 callers
Function
rotate
(angle, theta=90)
scripts/contributions/watch_replay.py:241
↓ 11 callers
Function
s
()
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 10 callers
Method
add_unit
Add a single GameUnit to the map at the given location. Args: unit_type: The type of the new unit. Use the constants provided in
python-algo/gamelib/game_map.py:152
↓ 10 callers
Method
contains_stationary_unit
Check if a location is blocked, return structures unit if it is Args: location: The location to check Returns:
python-algo/gamelib/game_state.py:501
↓ 10 callers
Function
debug_write
Prints a message to the games debug output Args: msg: The message to output
python-algo/gamelib/util.py:32
↓ 10 callers
Function
h
(e,t,n)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 10 callers
Function
markFunction
* Mark a function for special use by Sizzle * @param {Function} fn The function to mark
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:923
↓ 9 callers
Function
T
(e,t)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 9 callers
Function
resolve
( depth, deferred, handler, special )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:3748
↓ 8 callers
Function
X
(e)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 8 callers
Function
access
( elems, fn, key, value, chainable, emptyGet, raw )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:4143
↓ 8 callers
Method
add_data
(self, d_dype, p_index, data, fontsize=14)
scripts/contributions/watch_replay.py:565
↓ 8 callers
Function
camelCase
( string )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:4215
↓ 8 callers
Function
i
(e)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 8 callers
Method
make_turn_0_map
(self)
python-algo/gamelib/tests.py:8
↓ 8 callers
Method
show
()
scripts/contributions/get_results.py:320
↓ 7 callers
Function
P
(e,t)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 7 callers
Function
createPositionalPseudo
* Returns a function to use in pseudos for positionals * @param {Function} fn
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:1075
↓ 7 callers
Function
getClass
( elem )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:8254
↓ 7 callers
Method
get_attackers
Gets the stationary units threatening a given location Args: location: The location of a hypothetical defender player
python-algo/gamelib/game_state.py:617
↓ 7 callers
Method
get_resource
Gets a players resources Args: resource_type: MP (1) or SP (0) player_index: The index corresponding to the player wh
python-algo/gamelib/game_state.py:183
↓ 7 callers
Function
indexOf
( list, elem )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:579
↓ 7 callers
Function
stripAndCollapse
( value )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:8248
↓ 7 callers
Function
vt
(e)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 7 callers
Method
warn
Used internally by game_map to print out default messaging
python-algo/gamelib/game_map.py:235
↓ 7 callers
Function
yt
(e)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 6 callers
Method
add_data
(self, replay, turn, arg, data, cumulative=False)
scripts/contributions/get_results.py:365
↓ 6 callers
Function
dir
( elem, dir, until )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:2992
↓ 6 callers
Method
distance_between_locations
Euclidean distance Args: location_1: An arbitrary location, [x, y] location_2: An arbitrary location, [x, y]
python-algo/gamelib/game_map.py:219
↓ 6 callers
Method
get_locations_in_range
Gets locations in a circular area around a location Args: location: The center of our search area radius: The radius
python-algo/gamelib/game_map.py:191
↓ 6 callers
Function
se
(t,e,n,r)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 6 callers
Function
showHide
( elements, show )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:4829
↓ 6 callers
Method
values
(self)
scripts/contributions/watch_replay.py:528
↓ 6 callers
Function
x
(e)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 6 callers
Function
xe
(e)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 6 callers
Function
ye
(e)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 5 callers
Function
Be
(e,t,n)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 5 callers
Function
Pe
(n,r,i,o)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 5 callers
Function
V
(e)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 5 callers
Method
_invalid_coordinates
(self, location)
python-algo/gamelib/game_map.py:78
↓ 5 callers
Function
acceptData
( owner )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:4218
↓ 5 callers
Function
computeStyleTests
()
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:6453
↓ 5 callers
Function
curCSS
( elem, name, computed )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:6571
↓ 5 callers
Function
domManip
( collection, args, callback, ignored )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:6047
↓ 5 callers
Method
get_edge_locations
Takes in an edge description and returns a list of locations. Args: quadrant_description: A constant corresponding to one
python-algo/gamelib/game_map.py:106
↓ 5 callers
Method
get_last_replay
(self)
scripts/contributions/watch_replay.py:1199
↓ 5 callers
Function
ie
(e,t)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 5 callers
Function
isAttached
( elem )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:4701
↓ 5 callers
Function
isWindow
( obj )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:87
↓ 5 callers
Function
is_stationary
Args: unit_type: A unit type Returns: Boolean, True if the unit is stationary, False otherwise.
python-algo/gamelib/game_state.py:10
↓ 5 callers
Method
load_files
(self, num=1, a=False, f_names=[])
scripts/contributions/watch_replay.py:1216
↓ 5 callers
Method
start
Start the parsing loop. After starting the algo, it will wait until it receives information from the game engine, process t
python-algo/gamelib/algocore.py:47
↓ 5 callers
Function
toType
( obj )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:133
↓ 5 callers
Function
w
(e)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 4 callers
Function
Ae
(e,i,o)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 4 callers
Function
Ie
(e)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 4 callers
Function
Sizzle
( selector, context, results, seed )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:755
↓ 4 callers
Function
Te
(e,t,n,r,i)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 4 callers
Method
__set_resource
Sets the resources for the given player_index and resource_type. Is automatically called by other provided functions. Adds th
python-algo/gamelib/game_state.py:155
↓ 4 callers
Method
_invalid_player_index
(self, index)
python-algo/gamelib/game_state.py:168
↓ 4 callers
Method
_invalid_unit
(self, unit)
python-algo/gamelib/game_state.py:171
↓ 4 callers
Function
add
( key, valueOrFunction )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:8928
↓ 4 callers
Function
addCombinator
( matcher, combinator, base )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:2393
↓ 4 callers
Function
ae
(e,t)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 4 callers
Function
b
(a)
python-algo/documentation/_build/html/_static/underscore.js:10
↓ 4 callers
Function
be
(s,e,t)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 4 callers
Method
change_play_speed
(self, speed)
scripts/contributions/watch_replay.py:847
↓ 4 callers
Function
condense
( unmatched, map, filter, context, xml )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:2483
↓ 4 callers
Function
createCache
* Create key-value caches of limited size * @returns {function(string, object)} Returns the Object data after storing it on itself with * property n
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:903
↓ 4 callers
Method
frame_turn_to_val
(self, turns, frames)
scripts/contributions/watch_replay.py:928
↓ 4 callers
Function
genFx
( type, includeWidth )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:7290
↓ 4 callers
Function
getStyles
( elem )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:6410
↓ 4 callers
Method
init
(arg)
scripts/contributions/get_results.py:246
↓ 4 callers
Function
leverageNative
( el, type, expectSync )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:5612
↓ 4 callers
Function
lt
(e,t)
python-algo/documentation/_build/html/_static/jquery.js:2
↓ 4 callers
Function
roundPixelMeasures
( measure )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:6497
↓ 4 callers
Function
send_command
Sends your turn to standard output. Should usually only be called by 'GameState.submit_turn()'
python-algo/gamelib/util.py:24
↓ 4 callers
Method
set_wedge_shape
(self)
scripts/contributions/watch_replay.py:377
↓ 4 callers
Function
toSelector
( tokens )
python-algo/documentation/_build/html/_static/jquery-3.5.1.js:2383
next →
1–100 of 449, ranked by callers