Tetris · qwen3-coder-30b-a3b-instruct
Build a playable Tetris on a canvas with all seven tetrominoes, rotation, line clears, increasing speed, a next-piece preview, and score.
transcript · 4 messages
Build a playable Tetris on a canvas with all seven tetrominoes, rotation, line clears, increasing speed, a next-piece preview, and score.
# Tetris Game Implementation I'll create a complete, playable Tetris game with all the requested features: all seven tetrominoes, rotation, line clears, increasing speed, next-piece preview, and score tracking - all in a single HTML file.
index.html (18671 bytes)Successfully wrote 18671 bytes to index.html
I've created a complete, playable Tetris game in a single HTML file with all the requested features: 1. All seven tetrominoes with their correct shapes and colors 2. Rotation functionality 3. Line clearing with scoring 4. Increasing difficulty as levels progress 5. Next-piece preview 6. Score tracking 7. Game over detection and restart functionality 8. Responsive design that works on different screen sizes 9. Attractive visual design with a dark theme and neon accents The game includes: - Classic Tetris controls (arrow keys for movement and rotation) - Score display showing current score, level, and lines cleared - Next piece preview area - Game over screen with final score - Instructions for new players - Visual effects and responsive design The game mechanics follow standard Tetris rules: - Pieces fall at increasing speeds as you level up - Clear lines to score points (more points for multiple lines at once) - Game ends when new pieces can't enter the playing field - Press space bar for hard drop (instantly drops the piece) Simply open index.html in any modern browser to play!
TAKE IT TO CODE
A single self-contained HTML file — copy it and open in any browser, or reuse the prompt with your own pi-agent run.
RUN
EVALUATION
Functional Tetris with pieces falling, arrow/space controls working, next-piece preview, score/level/lines shown; WASD had no effect.
Vision grade · anthropic/claude-sonnet-5
MEASUREMENTS
Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.