MCPcopy Create free account

hub / github.com/abagames/claude-one-button-game-creation / functions

Functions1,016 in github.com/abagames/claude-one-button-game-creation

↓ 475 callersMethodadd
(x?: number | VectorLike, y?: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:286
↓ 342 callersMethodaddWithAngle
(angle: number, length: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:292
↓ 300 callersMethodset
(x?: number | VectorLike, y?: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:285
↓ 242 callersMethodlog
* 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 callersMethodmul
(v: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:288
↓ 159 callersMethoddistanceTo
(x?: number | VectorLike, y?: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:297
↓ 128 callersMethodrotate
(angle: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:295
↓ 115 callersMethodangleTo
(x?: number | VectorLike, y?: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:296
↓ 94 callersMethodisInRect
(x: number, y: number, width: number, height: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:298
↓ 88 callersMethodfloor
()
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:300
↓ 69 callersMethodsub
(x?: number | VectorLike, y?: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:287
↓ 36 callersMethodnormalize
()
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:294
↓ 29 callersMethodclamp
(xLow: number, xHigh: number, yLow: number, yHigh: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:290
↓ 25 callersFunctiongetRandom
* 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 callersMethodrandom
* 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 callersMethoddiv
(v: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:289
↓ 16 callersFunctiongetRandom
* 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 callersMethodrandom
* 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 callersMethodclone
()
archive/for_web/scripts/game-testing-framework.js:197
↓ 13 callersMethodround
()
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:301
↓ 12 callersFunctiontoCsvValue
(value)
archive/for_web/scripts/generate_metadata.js:392
↓ 11 callersFunctioncalcSnakePos
(edge, pos)
archive/for_chat/game_description_prompt/boxsnake.js:201
↓ 11 callersMethodclone
()
archive/for_zero_touch/scripts/tester_vector.js:70
↓ 10 callersFunctionaddAngle
(p, angle)
archive/for_web/reference/games/tt_fence.js:315
↓ 10 callersFunctionaddAngle
(p, angle)
archive/games_tags_data/games/src/tt_fence.js:315
↓ 10 callersFunctionreflect
(b, a, c)
archive/for_web/reference/games/flip_o.js:185
↓ 10 callersFunctionreflect
(b, a, c)
archive/games_tags_data/games/src/flip_o.js:185
↓ 9 callersFunctioncanPlaceGrid
(p)
archive/for_web/reference/games/tt_fence.js:320
↓ 9 callersFunctioncanPlaceGrid
(p)
archive/games_tags_data/games/src/tt_fence.js:320
↓ 9 callersMethodlogEvent
* 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 callersMethodset
(x, y)
archive/for_zero_touch/scripts/tester_vector.js:20
↓ 9 callersMethodset
(x, y)
archive/for_web/scripts/game-testing-framework.js:147
↓ 9 callersMethodset
(x, y)
archive/for_chat/cursor_knowledge/game-testing-framework.js:48
↓ 8 callersMethodceil
()
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:302
↓ 7 callersMethodclone
()
archive/for_chat/cursor_knowledge/game-testing-framework.js:98
↓ 6 callersFunctioncalcBarX
(i)
archive/for_web/reference/games/not_turn.js:269
↓ 6 callersFunctioncalcBarX
(i)
archive/games_tags_data/games/src/not_turn.js:269
↓ 6 callersFunctioncalcY
(i)
archive/for_web/reference/games/s_lanes.js:170
↓ 6 callersFunctioncalcY
(i)
archive/games_tags_data/games/src/s_lanes.js:170
↓ 6 callersMethodnext
* Generate next random float in [0, 1) * @returns {number} Random float
archive/for_web/scripts/game-testing-framework.js:55
↓ 6 callersMethodsimulateGame
* 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 callersMethodswapXy
()
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:293
↓ 5 callersFunctiondrawPanel
(p)
archive/for_web/reference/games/ladder_drop.js:305
↓ 5 callersFunctiondrawPanel
(p)
archive/games_tags_data/games/src/ladder_drop.js:305
↓ 5 callersFunctionescapeCsv
(val)
archive/for_web/scripts/list_priority_tags.js:162
↓ 5 callersMethodnext
* Generate next random float in [0, 1) * @returns {number} Random float
archive/for_zero_touch/scripts/tester_random.js:47
↓ 5 callersFunctionpad
(v)
archive/for_web/scripts/fetch_tag_snippets.js:91
↓ 5 callersFunctionpad
(num)
archive/for_web/scripts/verify_prototype.js:67
↓ 5 callersFunctionpad
(num)
archive/for_web/scripts/scaffold.js:117
↓ 5 callersFunctionreflect
(n)
archive/for_web/reference/games/earock.js:157
↓ 5 callersFunctionreflect
(n)
archive/games_tags_data/games/src/earock.js:157
↓ 5 callersMethodsimulateGame
* 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 callersFunctionaddItem
(type)
archive/for_web/reference/games/square_bar.js:199
↓ 4 callersFunctionaddItem
(type)
archive/games_tags_data/games/src/square_bar.js:199
↓ 4 callersFunctionapplyPattern
* Apply a pattern to replace value
archive/for_zero_touch/scripts/dynamic_game_injector.js:57
↓ 4 callersFunctionapplyPattern
* Apply a pattern to replace value
archive/for_web/scripts/dynamic_game_injector.js:52
↓ 4 callersMethodbox
* 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 callersMethodbox
* 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 callersFunctionbuildPatterns
* Build multiple pattern variations for flexible matching
archive/for_zero_touch/scripts/dynamic_game_injector.js:30
↓ 4 callersFunctionbuildPatterns
* Build multiple pattern variations for flexible matching
archive/for_web/scripts/dynamic_game_injector.js:31
↓ 4 callersMethodconstrain
* Constrain a value between a minimum and maximum
archive/for_zero_touch/scripts/tester_simulator.js:849
↓ 4 callersMethodconstrain
* Constrain a value between a minimum and maximum
archive/for_web/scripts/game-testing-framework.js:788
↓ 4 callersMethodconstrain
* Constrain a value between a minimum and maximum
archive/for_chat/cursor_knowledge/game-testing-framework.js:647
↓ 4 callersFunctiondrawGrid
(x, y, size = 6)
archive/for_web/reference/games/tt_fence.js:334
↓ 4 callersFunctiondrawGrid
(x, y, size = 6)
archive/games_tags_data/games/src/tt_fence.js:334
↓ 4 callersFunctionescapeRegex
* Escape special regex characters
archive/for_zero_touch/scripts/dynamic_game_injector.js:23
↓ 4 callersFunctionescapeRegex
* Escape special regex characters
archive/for_web/scripts/dynamic_game_injector.js:24
↓ 4 callersFunctionextractPosition
* 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 callersFunctiongenerateFractalWall
(x1, y1, x2, y2, depth)
docs/fracave/main.js:100
↓ 4 callersFunctiongetItem
(x, y)
archive/for_web/reference/games/two_faced.js:172
↓ 4 callersFunctiongetItem
(x, y)
archive/games_tags_data/games/src/two_faced.js:172
↓ 4 callersFunctionlerp
(a, b, t)
docs/barge-hop/main.js:62
↓ 4 callersFunctionreflect
(b, a, c)
archive/for_web/reference/games/holes.js:117
↓ 4 callersFunctionreflect
(b, a, c)
archive/games_tags_data/games/src/holes.js:117
↓ 4 callersFunctionsetWall
(index, isChangingAngle)
archive/for_web/reference/games/clean_robo.js:112
↓ 4 callersFunctionsetWall
(index, isChangingAngle)
archive/games_tags_data/games/src/clean_robo.js:112
↓ 4 callersMethodwrap
(xLow: number, xHigh: number, yLow: number, yHigh: number)
archive/for_chat/project_knowledge/crisp-game-lib.d.ts:291
↓ 3 callersMethod_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 callersMethod_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 callersMethod_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 callersMethod_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 callersMethod_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 callersMethod_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 callersFunctionaddLane
(isEmpty = false)
archive/for_web/reference/games/froooog.js:161
↓ 3 callersFunctionaddLane
(isEmpty = false)
archive/games_tags_data/games/src/froooog.js:161
↓ 3 callersFunctionaddPanel
()
archive/for_web/reference/games/ladder_drop.js:334
↓ 3 callersFunctionaddPanel
()
archive/games_tags_data/games/src/ladder_drop.js:334
↓ 3 callersMethodbox
* 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 callersFunctioncalcRoad
(x)
archive/for_web/reference/games/up_down_press.js:186
↓ 3 callersFunctioncalcRoad
(x)
archive/games_tags_data/games/src/up_down_press.js:186
↓ 3 callersFunctioncalculateAllMetrics
* 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 callersFunctioncheckProposedGame
(proposedGameData)
archive/for_web/scripts/similarity_checker.js:249
↓ 3 callersMethodclone
* Create a clone of this individual
archive/for_zero_touch/scripts/tester_ga_balance.js:54
↓ 3 callersFunctioncreateCrispGameAdapter
* 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 callersFunctioncreateCrispGameAdapter
* 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 callersFunctiondrawFrog
(scale = 1)
archive/for_web/reference/games/froooog.js:114
↓ 3 callersFunctiondrawFrog
(scale = 1)
archive/games_tags_data/games/src/froooog.js:114
↓ 3 callersMethodevolve
* 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 callersFunctionfloorIndexToY
(i)
archive/for_web/reference/games/up_1_way.js:99
↓ 3 callersFunctionfloorIndexToY
(i)
archive/games_tags_data/games/src/up_1_way.js:99
next →1–100 of 1,016, ranked by callers