Skip to content

Claude/build 4096 game b86 md#11

Merged
raenoll merged 4 commits intomasterfrom
claude/build-4096-game-b86Md
Mar 7, 2026
Merged

Claude/build 4096 game b86 md#11
raenoll merged 4 commits intomasterfrom
claude/build-4096-game-b86Md

Conversation

@raenoll
Copy link
Copy Markdown
Owner

@raenoll raenoll commented Mar 7, 2026

No description provided.

- Add second BGM style "upbeat" with bright C→G→Am→F→D→A→Bm→G
  progression, faster tempo (2s chords), arpeggio, and brighter timbre
- Keep original "serene" style (Cmaj7→Am7→Fmaj7→G7) as default
- Add dropdown selector in Sound settings to switch between styles
- Refactor startBgMusic() to be data-driven via BGM_STYLES config
- Persist style choice in localStorage (game4096_bgmStyle)
- Add i18n translations for style names in all 12 languages

https://claude.ai/code/session_01NmQy2jF4K9uxBzuzBa4kNG
Implement two power-up items to add strategic depth:

- Demolish (💣): Remove any tile from the board. Earned every
  3000 score points, max 3 held. Core rescue tool for late-game
  board congestion.

- Swap (🔄): Exchange positions of any two tiles. 2 given at
  game start, not earned during play. Highest-strategy item for
  fixing bad tile placements.

Features:
- Power-up bar with icon buttons, count badges, and hint text
- Tile selection mode with visual feedback (pulsing border,
  selected tile glow, cancel button)
- Touch/click/keyboard support (Escape to cancel)
- Undo fully restores power-up state
- Settings toggle (default OFF) in Sound settings sub-page
- New game resets power-ups (swap back to 2, demolish to 0)
- Full i18n for all 12 languages
- Landscape-responsive layout
- localStorage persistence for power-up state

https://claude.ai/code/session_01NmQy2jF4K9uxBzuzBa4kNG
- Rename "Sound Settings" → "Game Settings" in menu and sub-page title
- Rename powerup section title from "Power-ups" → "Powerup Settings"
- Powerup toggle label remains "Power-ups" unchanged
- Updated i18n keys (gameSettings, powerupSettings) for all 12 languages

https://claude.ai/code/session_01NmQy2jF4K9uxBzuzBa4kNG
The sub-page title bar says "Game Settings", with two same-level
sections inside: "Sound Settings" (audio toggles) and "Powerup
Settings" (powerup toggle). Restored soundSettings i18n key for
all 12 languages.

https://claude.ai/code/session_01NmQy2jF4K9uxBzuzBa4kNG
@raenoll raenoll merged commit ce7513c into master Mar 7, 2026
4 checks passed
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.

2 participants