Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/abagames/claude-one-button-game-creation
/ functions
Functions
1,016 in github.com/abagames/claude-one-button-game-creation
⨍
Functions
1,016
◇
Types & classes
56
↓ 475 callers
Method
add
(x?: number | VectorLike, y?: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:286
↓ 342 callers
Method
addWithAngle
(angle: number, length: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:292
↓ 300 callers
Method
set
(x?: number | VectorLike, y?: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:285
↓ 242 callers
Method
log
* Log a game event * @param {string} type Event type from EventType * @param {number} tick Current game tick * @param {Object} data Event-
archive/for_zero_touch/scripts/tester_events.js:92
↓ 224 callers
Method
mul
(v: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:288
↓ 159 callers
Method
distanceTo
(x?: number | VectorLike, y?: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:297
↓ 128 callers
Method
rotate
(angle: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:295
↓ 115 callers
Method
angleTo
(x?: number | VectorLike, y?: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:296
↓ 94 callers
Method
isInRect
(x: number, y: number, width: number, height: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:298
↓ 88 callers
Method
floor
()
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:300
↓ 69 callers
Method
sub
(x?: number | VectorLike, y?: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:287
↓ 36 callers
Method
normalize
()
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:294
↓ 29 callers
Method
clamp
(xLow: number, xHigh: number, yLow: number, yHigh: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:290
↓ 25 callers
Function
getRandom
* Get random number using global RNG if available, otherwise Math.random() * @returns {number} Random float in [0, 1)
archive/for_zero_touch/scripts/tester_random.js:96
↓ 23 callers
Method
random
* Get random number in [0, 1) using seeded or non-seeded generator * @returns {number} Random float
archive/for_web/scripts/game-testing-framework.js:266
↓ 19 callers
Method
div
(v: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:289
↓ 16 callers
Function
getRandom
* Get random number using global RNG if available, otherwise Math.random() * @returns {number} Random float in [0, 1)
archive/for_web/scripts/game-testing-framework.js:124
↓ 16 callers
Method
random
* Get random number in [0, 1) using seeded or non-seeded generator * @returns {number} Random float
archive/for_zero_touch/scripts/tester_simulator.js:246
↓ 14 callers
Method
clone
()
archive/for_web/scripts/game-testing-framework.js:197
↓ 13 callers
Method
round
()
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:301
↓ 12 callers
Function
toCsvValue
(value)
archive/for_web/scripts/generate_metadata.js:392
↓ 11 callers
Function
calcSnakePos
(edge, pos)
archive/for_chat/game_description_prompt/boxsnake.js:201
↓ 11 callers
Method
clone
()
archive/for_zero_touch/scripts/tester_vector.js:70
↓ 10 callers
Function
addAngle
(p, angle)
archive/for_web/reference/games/tt_fence.js:315
↓ 10 callers
Function
addAngle
(p, angle)
archive/games_tags_data/games/src/tt_fence.js:315
↓ 10 callers
Function
reflect
(b, a, c)
archive/for_web/reference/games/flip_o.js:185
↓ 10 callers
Function
reflect
(b, a, c)
archive/games_tags_data/games/src/flip_o.js:185
↓ 9 callers
Function
canPlaceGrid
(p)
archive/for_web/reference/games/tt_fence.js:320
↓ 9 callers
Function
canPlaceGrid
(p)
archive/games_tags_data/games/src/tt_fence.js:320
↓ 9 callers
Method
logEvent
* Log a game event (convenience method) * @param {string} type Event type * @param {Object} data Event data
archive/for_zero_touch/scripts/tester_simulator.js:106
↓ 9 callers
Method
set
(x, y)
archive/for_zero_touch/scripts/tester_vector.js:20
↓ 9 callers
Method
set
(x, y)
archive/for_web/scripts/game-testing-framework.js:147
↓ 9 callers
Method
set
(x, y)
archive/for_chat/cursor_knowledge/game-testing-framework.js:48
↓ 8 callers
Method
ceil
()
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:302
↓ 7 callers
Method
clone
()
archive/for_chat/cursor_knowledge/game-testing-framework.js:98
↓ 6 callers
Function
calcBarX
(i)
archive/for_web/reference/games/not_turn.js:269
↓ 6 callers
Function
calcBarX
(i)
archive/games_tags_data/games/src/not_turn.js:269
↓ 6 callers
Function
calcY
(i)
archive/for_web/reference/games/s_lanes.js:170
↓ 6 callers
Function
calcY
(i)
archive/games_tags_data/games/src/s_lanes.js:170
↓ 6 callers
Method
next
* Generate next random float in [0, 1) * @returns {number} Random float
archive/for_web/scripts/game-testing-framework.js:55
↓ 6 callers
Method
simulateGame
* Simulate a full game run with a given input pattern * @param {Function} initFunction Concept's init function * @param {Function} updateFunctio
archive/for_web/scripts/game-testing-framework.js:668
↓ 6 callers
Method
swapXy
()
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:293
↓ 5 callers
Function
drawPanel
(p)
archive/for_web/reference/games/ladder_drop.js:305
↓ 5 callers
Function
drawPanel
(p)
archive/games_tags_data/games/src/ladder_drop.js:305
↓ 5 callers
Function
escapeCsv
(val)
archive/for_web/scripts/list_priority_tags.js:162
↓ 5 callers
Method
next
* Generate next random float in [0, 1) * @returns {number} Random float
archive/for_zero_touch/scripts/tester_random.js:47
↓ 5 callers
Function
pad
(v)
archive/for_web/scripts/fetch_tag_snippets.js:91
↓ 5 callers
Function
pad
(num)
archive/for_web/scripts/verify_prototype.js:67
↓ 5 callers
Function
pad
(num)
archive/for_web/scripts/scaffold.js:117
↓ 5 callers
Function
reflect
(n)
archive/for_web/reference/games/earock.js:157
↓ 5 callers
Function
reflect
(n)
archive/games_tags_data/games/src/earock.js:157
↓ 5 callers
Method
simulateGame
* Simulate a full game run with a given input pattern * @param {Function} initFunction Concept's init function * @param {Function} updateFunct
archive/for_zero_touch/scripts/tester_simulator.js:692
↓ 4 callers
Function
addItem
(type)
archive/for_web/reference/games/square_bar.js:199
↓ 4 callers
Function
addItem
(type)
archive/games_tags_data/games/src/square_bar.js:199
↓ 4 callers
Function
applyPattern
* Apply a pattern to replace value
archive/for_zero_touch/scripts/dynamic_game_injector.js:57
↓ 4 callers
Function
applyPattern
* Apply a pattern to replace value
archive/for_web/scripts/dynamic_game_injector.js:52
↓ 4 callers
Method
box
* Simulate drawing a box (center-aligned rectangle) and check/record collisions. * Mimics crisp-game-lib's box(). * @param {number | {x: numbe
archive/for_zero_touch/scripts/tester_simulator.js:396
↓ 4 callers
Method
box
* Simulate drawing a box (center-aligned rectangle) and check/record collisions. * Mimics crisp-game-lib's box(). * @param {number | {x: number,
archive/for_web/scripts/game-testing-framework.js:416
↓ 4 callers
Function
buildPatterns
* Build multiple pattern variations for flexible matching
archive/for_zero_touch/scripts/dynamic_game_injector.js:30
↓ 4 callers
Function
buildPatterns
* Build multiple pattern variations for flexible matching
archive/for_web/scripts/dynamic_game_injector.js:31
↓ 4 callers
Method
constrain
* Constrain a value between a minimum and maximum
archive/for_zero_touch/scripts/tester_simulator.js:849
↓ 4 callers
Method
constrain
* Constrain a value between a minimum and maximum
archive/for_web/scripts/game-testing-framework.js:788
↓ 4 callers
Method
constrain
* Constrain a value between a minimum and maximum
archive/for_chat/cursor_knowledge/game-testing-framework.js:647
↓ 4 callers
Function
drawGrid
(x, y, size = 6)
archive/for_web/reference/games/tt_fence.js:334
↓ 4 callers
Function
drawGrid
(x, y, size = 6)
archive/games_tags_data/games/src/tt_fence.js:334
↓ 4 callers
Function
escapeRegex
* Escape special regex characters
archive/for_zero_touch/scripts/dynamic_game_injector.js:23
↓ 4 callers
Function
escapeRegex
* Escape special regex characters
archive/for_web/scripts/dynamic_game_injector.js:24
↓ 4 callers
Function
extractPosition
* Extract position from various object formats * @param {Object} obj Object that might contain position data * @returns {{x: number, y: number}|null
archive/for_zero_touch/scripts/crisp_game_adapter.js:53
↓ 4 callers
Function
generateFractalWall
(x1, y1, x2, y2, depth)
docs/fracave/main.js:100
↓ 4 callers
Function
getItem
(x, y)
archive/for_web/reference/games/two_faced.js:172
↓ 4 callers
Function
getItem
(x, y)
archive/games_tags_data/games/src/two_faced.js:172
↓ 4 callers
Function
lerp
(a, b, t)
docs/barge-hop/main.js:62
↓ 4 callers
Function
reflect
(b, a, c)
archive/for_web/reference/games/holes.js:117
↓ 4 callers
Function
reflect
(b, a, c)
archive/games_tags_data/games/src/holes.js:117
↓ 4 callers
Function
setWall
(index, isChangingAngle)
archive/for_web/reference/games/clean_robo.js:112
↓ 4 callers
Function
setWall
(index, isChangingAngle)
archive/games_tags_data/games/src/clean_robo.js:112
↓ 4 callers
Method
wrap
(xLow: number, xHigh: number, yLow: number, yHigh: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:291
↓ 3 callers
Method
_addHitBox
* Add a hitbox to the list for future checks. * @param {object} box The hitbox to add.
archive/for_zero_touch/scripts/tester_simulator.js:306
↓ 3 callers
Method
_addHitBox
* Add a hitbox to the list for future checks. * @param {object} box The hitbox to add.
archive/for_web/scripts/game-testing-framework.js:326
↓ 3 callers
Method
_addHitBox
* Add a hitbox to the list for future checks. * @param {object} box The hitbox to add.
archive/for_chat/cursor_knowledge/game-testing-framework.js:196
↓ 3 callers
Method
_checkCollision
* Check a new hitbox against all existing hitboxes. * Mimics crisp-game-lib's checkHitBoxes and testCollision. * @param {object} box The new h
archive/for_zero_touch/scripts/tester_simulator.js:281
↓ 3 callers
Method
_checkCollision
* Check a new hitbox against all existing hitboxes. * Mimics crisp-game-lib's checkHitBoxes and testCollision. * @param {object} box The new hit
archive/for_web/scripts/game-testing-framework.js:301
↓ 3 callers
Method
_checkCollision
* Check a new hitbox against all existing hitboxes. * Mimics crisp-game-lib's checkHitBoxes and testCollision. * @param {object} box The new hit
archive/for_chat/cursor_knowledge/game-testing-framework.js:171
↓ 3 callers
Function
addLane
(isEmpty = false)
archive/for_web/reference/games/froooog.js:161
↓ 3 callers
Function
addLane
(isEmpty = false)
archive/games_tags_data/games/src/froooog.js:161
↓ 3 callers
Function
addPanel
()
archive/for_web/reference/games/ladder_drop.js:334
↓ 3 callers
Function
addPanel
()
archive/games_tags_data/games/src/ladder_drop.js:334
↓ 3 callers
Method
box
* Simulate drawing a box (center-aligned rectangle) and check/record collisions. * Mimics crisp-game-lib's box(). * @param {number | {x: number,
archive/for_chat/cursor_knowledge/game-testing-framework.js:286
↓ 3 callers
Function
calcRoad
(x)
archive/for_web/reference/games/up_down_press.js:186
↓ 3 callers
Function
calcRoad
(x)
archive/games_tags_data/games/src/up_down_press.js:186
↓ 3 callers
Function
calculateAllMetrics
* Calculate all novelty metrics for a game * @param {Object} gameData - Game metadata and code * @param {Object} options - File paths and configurat
archive/for_web/scripts/calculate_novelty_metrics.js:207
↓ 3 callers
Function
checkProposedGame
(proposedGameData)
archive/for_web/scripts/similarity_checker.js:249
↓ 3 callers
Method
clone
* Create a clone of this individual
archive/for_zero_touch/scripts/tester_ga_balance.js:54
↓ 3 callers
Function
createCrispGameAdapter
* Create an adapter for a Crisp game concept * @param {string} gamePath Path to the game.js file * @returns {Object} Adapter object with init, updat
archive/for_zero_touch/scripts/crisp_game_adapter.js:190
↓ 3 callers
Function
createCrispGameAdapter
* Create an adapter for a Crisp game concept * @param {string} gamePath Path to the game.js file * @returns {Object} Adapter object with init, updat
archive/for_web/scripts/crisp_game_adapter.js:13
↓ 3 callers
Function
drawFrog
(scale = 1)
archive/for_web/reference/games/froooog.js:114
↓ 3 callers
Function
drawFrog
(scale = 1)
archive/games_tags_data/games/src/froooog.js:114
↓ 3 callers
Method
evolve
* Evolve game balance parameters to achieve target score and survival time * * @param {GameSimulator} simulator - Game simulator instance * @
archive/for_web/scripts/game-testing-framework.js:1530
↓ 3 callers
Function
floorIndexToY
(i)
archive/for_web/reference/games/up_1_way.js:99
↓ 3 callers
Function
floorIndexToY
(i)
archive/games_tags_data/games/src/up_1_way.js:99
next →
1–100 of 1,016, ranked by callers