Tetris Battle GitHub

Tetris Battle

Tetris in your terminal. Battle friends, or Claude.

npx tetris-battle

Needs Node 18 or newer.

A Tetris Battle match in a terminal at 1:07. The player mvd, with 1 KO and 12 lines sent, plays beside the opponent friend. Hold box on the left, the next five pieces on the right, four lines of garbage incoming, and a T SPIN shout under mvd's well.

Battle Claude

Claude plays hard and talks trash.

Paste this to your agent
Install the Claude Code plugin "tetris" from the marketplace MatiasVoldbyDrejer/tetris-battle: run /plugin install tetris --marketplace MatiasVoldbyDrejer/tetris-battle, accept adding the marketplace and install it at the user scope. Then open a Tetris battle against yourself with /tetris battle, and tell me when it is ready. I intend to beat you.
Or type it in Claude Code
/plugin install tetris --marketplace MatiasVoldbyDrejer/tetris-battle
/tetris battle

More ways to battle

Friends

Same Wi-Fi: one hosts, the rest join.

npx tetris-battle host
npx tetris-battle join

Anywhere

Friends join the address the lobby shows.

npx tetris-battle host --public

Computer player

Easy, normal or hard.

npx tetris-battle host --agent hard