MCPcopy Index your code
hub / github.com/Gaya/functional-snake

github.com/Gaya/functional-snake @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
33 symbols 68 edges 18 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Core symbols most depended-on inside this repo

isSamePosition
called by 5
src/core/is-same-position.js
scaledPosition
called by 4
src/core/scaled-position.js
inputStateByKeyCode
called by 3
src/engine/input.js
lastInput
called by 2
src/engine/input.js
randomPositionFood
called by 2
src/actors/food.js
snakeTouchesFood
called by 2
src/actors/food.js
createSnakePartDrawer
called by 2
src/actors/snake.js
createCanvasElement
called by 1
src/canvas/index.js

Shape

Function 33

Languages

TypeScript100%

Modules by API surface

src/actors/snake.js8 symbols
src/actors/food.js6 symbols
src/engine/input.js4 symbols
src/engine/index.js4 symbols
src/canvas/index.js3 symbols
src/actors/start-screen.js2 symbols
src/core/scaled-position.js1 symbols
src/core/is-same-position.js1 symbols
src/actors/score.js1 symbols
src/actors/restart-screen.js1 symbols
src/actors/game.js1 symbols
src/actors/background.js1 symbols

For agents

$ claude mcp add functional-snake \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact