MCPcopy Index your code
hub / github.com/IlyaAgarishev/react-gameboy

github.com/IlyaAgarishev/react-gameboy @main

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

Extension points exported contracts — how you extend this code

IDirectionalButton (Interface)
(no doc)
src/components/Button/Button.tsx
SnakeState (Interface)
(no doc)
src/models/SnakeState.ts
ICheckIfSnakeIsOutOfVerticalRange (Interface)
(no doc)
src/hooks/useSnake/useSnakeHasFailed/utils-use-snake-has-failed.ts
IGetBackground (Interface)
(no doc)
src/components/GameplayScreen/utils-gameplay-screen.ts
ICheckIfSnakeIsOutOfHorizontalRange (Interface)
(no doc)
src/hooks/useSnake/useSnakeHasFailed/utils-use-snake-has-failed.ts
IGetClassName (Interface)
(no doc)
src/components/GameplayScreen/utils-gameplay-screen.ts
ReturnUseLastControlKeyPressed (Interface)
(no doc)
src/hooks/useSnake/useLastControlKeyPressed/useLastControlKeyPressed.tsx
IGetGameSquareData (Interface)
(no doc)
src/components/GameplayScreen/utils-gameplay-screen.ts

Core symbols most depended-on inside this repo

useOnKeyDown
called by 5
src/hooks/useOneKeyDown/useOnKeyDown.ts
useAppDispatch
called by 4
src/hooks/reduxHooks.ts
setCoordinatesAction
called by 3
src/store/reducers/snakeSlice.ts
setSnakeHasFailedAction
called by 3
src/store/reducers/snakeSlice.ts
getDirection
called by 3
src/hooks/useSnake/useSnakeMotion/utils-use-snake-motion.ts
getOpacity
called by 2
src/components/Screen/utils-screen.ts
isControlKey
called by 2
src/hooks/useSnake/useLastControlKeyPressed/utils-use-last-control-key-pressed.ts
getKeysConflict
called by 2
src/hooks/useSnake/useLastControlKeyPressed/utils-use-last-control-key-pressed.ts

Shape

Function 45
Interface 13
Class 4
Enum 3
Method 3

Languages

TypeScript100%

Modules by API surface

src/components/GameplayScreen/utils-gameplay-screen.ts9 symbols
src/hooks/useSnake/useSnakeHasFailed/utils-use-snake-has-failed.ts5 symbols
src/classes/PersistedBestScore.ts5 symbols
src/store/reducers/snakeSlice.ts4 symbols
src/hooks/useSnake/useSnakeMotion/utils-use-snake-motion.ts3 symbols
src/hooks/useSnake/useLastControlKeyPressed/utils-use-last-control-key-pressed.ts3 symbols
src/hooks/useSnake/useLastControlKeyPressed/useLastControlKeyPressed.tsx3 symbols
src/hooks/useOneKeyDown/utils-use-on-key-down.ts3 symbols
src/hooks/useOneKeyDown/useOnKeyDown.ts3 symbols
src/components/Button/Button.tsx3 symbols
src/hooks/useSnake/useRandomFood/utils-use-random-food.ts2 symbols
src/components/HomeScreen/HomeScreen.tsx2 symbols

For agents

$ claude mcp add react-gameboy \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page