Skip to content

feat(tetris): visual skins (Retro, Neon, Pastel, Pixel art) - #11

Closed
DanielGeek wants to merge 1 commit into
mainfrom
worktree-agent-a56e4b9498e4eb932
Closed

DanielGeek wants to merge 1 commit into
mainfrom
worktree-agent-a56e4b9498e4eb932

Conversation

@DanielGeek

Copy link
Copy Markdown
Owner

Adds a skin selector (top-left) with Retro (unchanged look), Neon (dark-only, shadowBlur glow), Pastel (rounded blocks) and Pixel art (bevel + cached checker pattern). Persisted in localStorage key tetris-skin; applies without reload.

Code anchors touched: new SKINS table + SKIN_KEY (after LIGHT_COLORS), skin/skinId globals, drawBlock (now dispatches to skin.draw; new drawBlockRetro/Neon/Pastel/Pixel, roundedPath, getPixelTexture), applyTheme (palette selection), new Skins block at end of game.js (loadSkin, applySkin, change handler, startup call), index.html (#skin-select), style.css (appended .skin-select and :root[data-skin=neon] overrides).

Verified with a Node vm simulation (retro draw calls identical to main, all skins draw types 1-14 + power block, shadowBlur reset, persistence, throwing storage). No project test suite; no browser check.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
python-projects Ready Ready Preview Oct 2, 2026 3:08am UTC

@DanielGeek

Copy link
Copy Markdown
Owner Author

Merged locally into main-2 (merge commits add4b68, e9caa25, 8b4f961; pushed to origin/main-2). Closing this PR and deleting its branch.

@DanielGeek DanielGeek closed this Oct 2, 2026
@DanielGeek
DanielGeek deleted the worktree-agent-a56e4b9498e4eb932 branch October 2, 2026 16:07

This branch was successfully deployed

1 active deployment
Preview — d8fc96c0 Deployed Oct 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant