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
↓ 2 callers
Function
selectFromCategory
(categoryTags, minCount, maxCount)
archive/for_web/scripts/generate_cross_category_constraints.js:124
↓ 2 callers
Function
setCoin
(y, a)
archive/for_web/reference/games/holes.js:133
↓ 2 callers
Function
setCoin
(y, a)
archive/games_tags_data/games/src/holes.js:133
↓ 2 callers
Function
setGlobalSeed
* Set global random seed for all framework operations * @param {number|null} seed Seed value (null for non-deterministic)
archive/for_zero_touch/scripts/tester_random.js:84
↓ 2 callers
Function
setNextEnemy
()
archive/for_web/reference/games/roll_hold.js:195
↓ 2 callers
Function
setNextEnemy
()
archive/games_tags_data/games/src/roll_hold.js:195
↓ 2 callers
Method
setSeed
* Set the random seed for deterministic simulations * @param {number|null} seed Seed value (null to use Math.random)
archive/for_zero_touch/scripts/tester_simulator.js:232
↓ 2 callers
Method
simulateFrame
* Simulate one frame of the game * @param {Function} updateFunction The concept's update function
archive/for_chat/cursor_knowledge/game-testing-framework.js:504
↓ 2 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_chat/cursor_knowledge/game-testing-framework.js:538
↓ 2 callers
Function
spawnPins
* Generate new pin group
docs/ricochet_pins/main.ts:350
↓ 2 callers
Function
spawnPlatform
()
docs/fallbounce/main.js:74
↓ 2 callers
Method
testGame
* Run game test and return raw simulation data (facts only, no evaluation) * @param {GameSimulator} simulator Game simulator instance * @param
archive/for_zero_touch/scripts/tester_game_analyzer.js:227
↓ 2 callers
Method
text
* Simulate drawing text and check/record collisions. * Mimics crisp-game-lib's text(). Simplified: Assumes fixed 6x6 size per char. * Does not h
archive/for_web/scripts/game-testing-framework.js:456
↓ 2 callers
Method
toInputPattern
* Convert genome to flat input pattern array * @param {number} maxTicks Maximum ticks to generate * @returns {Array<number>} Flat array [0,1,0
archive/for_zero_touch/scripts/tester_ga_individual.js:64
↓ 2 callers
Method
tournamentSelection
* Tournament selection * @param {Array<GAIndividual>} population Population * @param {number} tournamentSize Tournament size * @returns {GAIn
archive/for_zero_touch/scripts/tester_ga_input.js:136
↓ 2 callers
Method
tournamentSelection
* Tournament selection * @param {Array<GAIndividual>} population Population * @param {number} tournamentSize Tournament size * @returns {GAIn
archive/for_web/scripts/game-testing-framework.js:1224
↓ 2 callers
Function
turnTo
(a, p, v)
archive/for_web/reference/games/earock.js:146
↓ 2 callers
Function
turnTo
(a, p, v)
archive/games_tags_data/games/src/earock.js:146
↓ 2 callers
Method
updateInput
* Update input state based on button status * @param {boolean} isButtonPressed Whether the button is currently pressed
archive/for_chat/cursor_knowledge/game-testing-framework.js:485
↓ 2 callers
Function
updateLanes
()
archive/for_web/reference/games/froooog.js:132
↓ 2 callers
Function
updateLanes
()
archive/games_tags_data/games/src/froooog.js:132
↓ 1 callers
Method
_analyzeDeaths
* Analyze death patterns
archive/for_zero_touch/scripts/tester_events.js:259
↓ 1 callers
Method
_analyzeInput
* Analyze input patterns
archive/for_zero_touch/scripts/tester_events.js:393
↓ 1 callers
Method
_analyzeScoring
* Analyze scoring patterns
archive/for_zero_touch/scripts/tester_events.js:309
↓ 1 callers
Method
_analyzeSpawns
* Analyze spawn patterns
archive/for_zero_touch/scripts/tester_events.js:345
↓ 1 callers
Method
_checkNearMisses
* Check for near misses with obstacles
archive/for_zero_touch/scripts/tester_simulator.js:175
↓ 1 callers
Method
_updateStats
* Update statistics based on event
archive/for_zero_touch/scripts/tester_events.js:143
↓ 1 callers
Function
addCircle
()
archive/for_web/reference/games/cywall.js:79
↓ 1 callers
Function
addCircle
()
archive/games_tags_data/games/src/cywall.js:79
↓ 1 callers
Function
addPlayer
()
archive/for_web/reference/games/survivor.js:220
↓ 1 callers
Function
addPlayer
()
archive/games_tags_data/games/src/survivor.js:220
↓ 1 callers
Function
addPlayers
()
archive/for_web/reference/games/survivor.js:213
↓ 1 callers
Function
addPlayers
()
archive/games_tags_data/games/src/survivor.js:213
↓ 1 callers
Function
addWalls
(w)
archive/for_web/reference/games/holes.js:145
↓ 1 callers
Function
addWalls
(w)
archive/games_tags_data/games/src/holes.js:145
↓ 1 callers
Function
analyzeGameFile
(filePath)
archive/for_web/scripts/generate_metadata.js:147
↓ 1 callers
Function
appendGlobalLog
(timestamp, slug, mode, outcome)
archive/for_web/scripts/verify_prototype.js:261
↓ 1 callers
Function
appendGlobalLog
(timestamp, slug, tags, argv, noveltyReport)
archive/for_web/scripts/scaffold.js:164
↓ 1 callers
Function
appendMetricsRow
(timestamp, tags, slug, outcome, notes, gaBestScore = '', gaResistance = '', technicalScore = '', designScore
archive/for_web/scripts/verify_prototype.js:90
↓ 1 callers
Function
appendMetricsRow
(date, tags, slug)
archive/for_web/scripts/scaffold.js:80
↓ 1 callers
Function
applyTemplate
(template, slug)
archive/for_web/scripts/scaffold.js:131
↓ 1 callers
Method
arc
* Simulate drawing an arc and check/record collisions. * Mimics crisp-game-lib's arc(). Approximates arc with line segments. * @param {number
archive/for_zero_touch/scripts/tester_simulator.js:997
↓ 1 callers
Method
arc
* Simulate drawing an arc and check/record collisions. * Mimics crisp-game-lib's arc(). Approximates arc with line segments. * @param {number |
archive/for_web/scripts/game-testing-framework.js:936
↓ 1 callers
Function
assertSlug
(slug)
archive/for_web/scripts/verify_prototype.js:60
↓ 1 callers
Function
assertSlug
(slug)
archive/for_web/scripts/scaffold.js:47
↓ 1 callers
Function
assertSlugFormat
(slug)
archive/for_web/scripts/check_game_style.js:33
↓ 1 callers
Function
assertSlugFormat
(slug)
archive/for_web/scripts/simulate_game.js:39
↓ 1 callers
Function
autoDetectEntities
* Auto-detect and track game entities from global scope * @param {Object} globalScope Global scope containing game variables * @param {Object} simul
archive/for_zero_touch/scripts/crisp_game_adapter.js:121
↓ 1 callers
Method
bar
* Simulate drawing a bar (rotated line) and check/record collisions. * Mimics crisp-game-lib's bar(). Delegates to line(). * @param {number |
archive/for_zero_touch/scripts/tester_simulator.js:960
↓ 1 callers
Method
bar
* Simulate drawing a bar (rotated line) and check/record collisions. * Mimics crisp-game-lib's bar(). Delegates to line(). * @param {number | {x
archive/for_web/scripts/game-testing-framework.js:899
↓ 1 callers
Function
bitCount
(n)
archive/for_web/reference/games/monjum.js:156
↓ 1 callers
Function
bitCount
(n)
archive/games_tags_data/games/src/monjum.js:156
↓ 1 callers
Function
bomb
()
archive/for_web/reference/games/tt_fence.js:255
↓ 1 callers
Function
bomb
()
archive/games_tags_data/games/src/tt_fence.js:255
↓ 1 callers
Function
buildFetchTargets
(gameName, urlInfo)
archive/for_web/scripts/fetch_games.js:95
↓ 1 callers
Function
buildGameMarkdown
({ game, metadata, tags, tagsInfo })
archive/for_web/scripts/generate_metadata.js:303
↓ 1 callers
Function
buildModeList
(mode)
archive/for_web/scripts/verify_prototype.js:132
↓ 1 callers
Function
buildPrompt
(tagInfo, gameCode, gameSlug)
archive/for_web/scripts/validate_tag_assignment.js:91
↓ 1 callers
Function
buildTagCodeMap
(tagMap)
archive/for_web/scripts/generate_metadata.js:284
↓ 1 callers
Function
calculateDesignScore
* Calculate Design Score (0-100) * Based on: balance, difficulty progression, responsiveness * * @param {Object} monotonousResults Result from test
archive/for_web/scripts/calculate_quality_scores.js:63
↓ 1 callers
Function
calculateMechanicOverlap
(mechanics1, mechanics2)
archive/for_web/scripts/similarity_checker.js:143
↓ 1 callers
Function
calculateMechanicalCoherence
* Calculate Mechanical Coherence Score * @param {string[]} selectedTags - Tags used in the proposed game * @param {string} categoriesFile - Path to
archive/for_web/scripts/calculate_novelty_metrics.js:80
↓ 1 callers
Function
calculateNoveltyScore
* Calculate Novelty Score (0-100) * Based on: tag novelty, mechanical coherence, code originality * * @param {Object} noveltyMetrics Result from ca
archive/for_web/scripts/calculate_quality_scores.js:93
↓ 1 callers
Function
calculateOverallScore
* Calculate Overall Quality Score (0-100) * Weighted average of Technical, Design, Novelty scores * * @param {number} technical Technical score *
archive/for_web/scripts/calculate_quality_scores.js:120
↓ 1 callers
Function
calculateQualityScores
* Calculate all quality scores from evaluation results * * @param {Object} params Evaluation parameters * @param {Object} params.lintResult Lint ch
archive/for_web/scripts/calculate_quality_scores.js:143
↓ 1 callers
Function
calculateSelectionMetrics
(selected, allCategories)
archive/for_web/scripts/generate_cross_category_constraints.js:152
↓ 1 callers
Function
calculateSimilarity
(proposedGame, existingGame)
archive/for_web/scripts/similarity_checker.js:103
↓ 1 callers
Function
calculateTagNoveltyRatio
* Calculate Tag Novelty Ratio * @param {string[]} selectedTags - Tags used in the proposed game * @param {string} historyFile - Path to tag_combo_hi
archive/for_web/scripts/calculate_novelty_metrics.js:21
↓ 1 callers
Function
calculateTagOverlap
(tags1, tags2)
archive/for_web/scripts/similarity_checker.js:131
↓ 1 callers
Function
calculateTechnicalScore
* Calculate Technical Score (0-100) * Based on: syntax correctness, execution stability, vulnerability resistance * * @param {Object} lintResult Re
archive/for_web/scripts/calculate_quality_scores.js:18
↓ 1 callers
Function
callLLM
(prompt, model)
archive/for_web/scripts/validate_tag_assignment.js:142
↓ 1 callers
Method
char
* Simulate drawing a character sprite and check/record collisions. * Mimics crisp-game-lib's char(). Simplified: Assumes fixed 6x6 size. * Req
archive/for_zero_touch/scripts/tester_simulator.js:503
↓ 1 callers
Method
char
* Simulate drawing a character sprite and check/record collisions. * Mimics crisp-game-lib's char(). Simplified: Assumes fixed 6x6 size. * Requi
archive/for_web/scripts/game-testing-framework.js:523
↓ 1 callers
Function
checkBlock
(rp, type, angle)
archive/for_web/reference/games/tt_fence.js:168
↓ 1 callers
Function
checkBlock
(rp, type, angle)
archive/games_tags_data/games/src/tt_fence.js:168
↓ 1 callers
Function
checkBlockInGrid
(rp, type, angle)
archive/for_web/reference/games/tt_fence.js:179
↓ 1 callers
Function
checkBlockInGrid
(rp, type, angle)
archive/games_tags_data/games/src/tt_fence.js:179
↓ 1 callers
Function
checkBomb
()
archive/for_web/reference/games/tt_fence.js:190
↓ 1 callers
Function
checkBomb
()
archive/games_tags_data/games/src/tt_fence.js:190
↓ 1 callers
Function
checkCollisions
()
docs/quantumleaper/main.js:125
↓ 1 callers
Function
checkGameSimilarity
(proposedGame, existingGames, threshold = 0.7)
archive/for_web/scripts/similarity_checker.js:176
↓ 1 callers
Function
checkHole
(fi, x)
archive/for_web/reference/games/up_1_way.js:251
↓ 1 callers
Function
checkHole
(fi, x)
archive/games_tags_data/games/src/up_1_way.js:251
↓ 1 callers
Function
checkSize
()
archive/for_web/reference/games/forfour.js:244
↓ 1 callers
Function
checkSize
()
archive/games_tags_data/games/src/forfour.js:244
↓ 1 callers
Function
circleRectCollision
(circlePos, circleRadius, rectPos, rectSize)
docs/sample_before/main.js:22
↓ 1 callers
Method
clearObstacles
* Clear all tracked obstacles
archive/for_zero_touch/scripts/tester_simulator.js:168
↓ 1 callers
Method
color
* Set the current "drawing" color for subsequent collision checks. * @param {string} colorName Color name (e.g., 'red', 'blue', 'transparent')
archive/for_zero_touch/scripts/tester_simulator.js:317
↓ 1 callers
Method
color
* Set the current "drawing" color for subsequent collision checks. * @param {string} colorName Color name (e.g., 'red', 'blue', 'transparent')
archive/for_web/scripts/game-testing-framework.js:337
↓ 1 callers
Method
compareGames
* Compare multiple games to identify the best design * @param {Array} gameResults Array of results from evaluateGameComprehensive * @returns {Ob
archive/for_web/scripts/game-testing-framework.js:2253
↓ 1 callers
Method
compareGames
* Compare multiple games to identify the best design * @param {Array} gameResults Array of results from evaluateGameComprehensive * @returns {Ob
archive/for_chat/cursor_knowledge/game-testing-framework.js:1548
↓ 1 callers
Method
comparePlayerPatterns
* Compare game performance using different simulated player skill levels. * * @param {GameSimulator} simulator Game simulator instance * @par
archive/for_chat/cursor_knowledge/game-testing-framework.js:1147
↓ 1 callers
Method
createInitialPopulation
* Create initial population * @param {number} populationSize Number of individuals * @param {Object} config Configuration for genome generation
archive/for_zero_touch/scripts/tester_ga_input.js:22
↓ 1 callers
Method
createInitialPopulation
* Create initial population * @param {number} populationSize Number of individuals * @param {Object} config Configuration for genome generation
archive/for_web/scripts/game-testing-framework.js:1163
↓ 1 callers
Method
createRandom
* Create a random individual with values within suggested ranges
archive/for_zero_touch/scripts/tester_ga_balance.js:42
↓ 1 callers
Method
createRandom
* Create a random individual * @param {number} minLength Minimum genome length * @param {number} maxLength Maximum genome length * @param
archive/for_zero_touch/scripts/tester_ga_individual.js:32
↓ 1 callers
Method
crossover
* One-point crossover * @param {GAIndividual} parent1 First parent * @param {GAIndividual} parent2 Second parent * @returns {Array<GAIndividu
archive/for_zero_touch/scripts/tester_ga_input.js:153
↓ 1 callers
Method
crossover
* One-point crossover * @param {GAIndividual} parent1 First parent * @param {GAIndividual} parent2 Second parent * @returns {Array<GAIndividu
archive/for_web/scripts/game-testing-framework.js:1241
↓ 1 callers
Function
dedupeTargets
(targets)
archive/for_web/scripts/fetch_games.js:242
↓ 1 callers
Function
deriveRepoInfo
(gameName, urlInfo)
archive/for_web/scripts/fetch_games.js:118
← previous
next →
201–300 of 1,016, ranked by callers