About this game
Claude Code Tetris is a GitHub-hosted browser Tetris project tagged with Claude Code and vibe coding. It fits the puzzle category because the core loop is proven, readable, and easy to sample in an iframe. The value for AI Game Lib is the production context: a familiar game rebuilt and published through AI-assisted development rather than a closed app store build.
Claude Code Tetris sits in the AI Puzzle Games section. The main appeal is pattern reading: slow down, test a hypothesis, and use each failed attempt as useful information. The tags #github-pages, #claude-code, #tetris describe the fastest way to understand what kind of session to expect.
Claude Code Tetris comes from a public GitHub or GitHub Pages project, so it is useful for players who want to see AI-assisted browser game experiments with a visible source trail.
What to expect
- Click START GAME, then play with the keyboard: Left and Right move, Up rotates, Down soft-drops, Space hard-drops, P pauses.
- A LINES counter tracks cleared rows and a NEXT preview shows the coming piece.
- The first load can be slow.
How to play
- Click START GAME.
- Slide each piece with Left and Right and rotate it with Up.
- Press Down to lower it gently or Space to drop it at once.
- Clear full rows to raise LINES. Game Over offers PLAY AGAIN and a separate RESTART button.
Quick tips
- Use the NEXT preview to decide where to leave a gap before pressing Space.
- Move pieces to the sides before dropping. Dropping every piece in the centre ends the game without a single line.
FAQ
Can I start over after losing?
Yes. The loss screen shows PLAY AGAIN, and there is also a RESTART button.
Is there a sound switch?
A Toggle Sound button is on the game screen.
How was AI used to make it?
The source repository is tagged claude-code and vibe-coding. We did not find a fuller description of which parts were generated with AI.
New to AI games? The AI games guide on our home page explains how to pick one by controls and by what the AI does.

