MCPcopy Index your code
hub / github.com/brandly/react-tetris

github.com/brandly/react-tetris @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
58 symbols 124 edges 20 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

KeymasterEvent (Interface)
(no doc)
src/types/keymaster.d.ts
KeyHandler (Interface)
(no doc)
src/types/keymaster.d.ts
FilterEvent (Interface)
(no doc)
src/types/keymaster.d.ts
Keymaster (Interface)
(no doc)
src/types/keymaster.d.ts

Core symbols most depended-on inside this repo

update
called by 8
src/models/Game.ts
init
called by 8
src/models/Game.ts
applyMove
called by 5
src/models/Game.ts
tryMove
called by 5
src/models/Matrix.ts
isEmptyPosition
called by 4
src/models/Matrix.ts
getBlocks
called by 3
src/models/Piece.ts
initializePiece
called by 3
src/models/Game.ts
addPieceToBoard
called by 3
src/models/Matrix.ts

Shape

Function 46
Method 8
Interface 4

Languages

TypeScript100%

Modules by API surface

src/types/keymaster.d.ts12 symbols
src/models/Matrix.ts11 symbols
src/models/Game.ts8 symbols
src/modules/piece-queue.ts5 symbols
src/modules/detect-shift.ts3 symbols
src/models/Piece.ts3 symbols
src/hooks/useKeyboardControls.ts3 symbols
src/components/Tetris.tsx2 symbols
app/TypedShell.tsx2 symbols
app/GamePanel.tsx2 symbols
test/index.ts1 symbols
src/components/PieceView.tsx1 symbols

For agents

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

⬇ download graph artifact