Skip to content

Open a 📦 card pack on level up - #41

Merged
Necromancervbh merged 32 commits into
mainfrom
claude/game-automation-ideas-d97rgk
Sep 29, 2026
Merged

Necromancervbh merged 32 commits into
mainfrom
claude/game-automation-ideas-d97rgk

Conversation

@Necromancervbh

Copy link
Copy Markdown
Owner

Levelling up now feels like opening a booster pack.

  1. When you reach a new level, a Level N card pack appears. It gently wiggles and shows how many new cards are inside.
  2. Click to tear it open. The pack scales and spins away with the achievement chime.
  3. The newly unlocked cards flip in one by one.
  4. Click any card to drop it straight into the forge, or press Add to collection to close the pack.

Details

  • The pack holds every card unlocked between your old and new level, so skipping a level doesn't lose cards.
  • If a level unlocks no cards, no pack appears.
  • It only appears on a live level-up, not on page load.
  • prefers-reduced-motion turns off the wiggle, tear and flip animations.
  • The pack is a keyboard-focusable button with an aria label.

Testing: checked in the browser with a save at 90 XP. ▶ Play led to level 2 and a "Level 2 card pack: 8 new cards" (Daily Ritual, Copycat, Office Hours, Calendar Gate, Echo, Portal, Summon, Hourglass). Opening it revealed all 8, and clicking one closed the pack and put the card in the forge. A save at 390 XP gave the level-3 pack with 11 cards. No console errors. npm test passes 49 tests.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf


Generated by Claude Code

Three quests a day, picked with a per-day seed, pay bonus XP once each.
Progress comes from combo runs and forging, and shows in a new panel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
A one-page site in docs/ (how it works, features, screenshots, download
steps). Serve it with Settings > Pages > main, /docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
The quests panel shows the time until local midnight and reloads the new
set when the day changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
A rare IF card (level 3) that lets a combo continue only N% of the time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Same change as Dependabot's #31, which conflicted after #30 landed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Tidy Up moves files older than N days out of a folder without
overwriting. Snapshot saves a screenshot (screencapture, PowerShell, or
grim/gnome-screenshot/spectacle/scrot/import) and hands it to later cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Fires once when you've been idle N minutes, or when you come back after
that long. Idle time comes from ioreg (macOS), GetLastInputInfo
(Windows), or GNOME's IdleMonitor / xprintidle (Linux).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
A THEN card that runs another combo by name, passing the trigger's file
along. Loops (A -> B -> A) are refused and chains stop at 5 combos. The
forge suggests existing combo names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Synthesized with Web Audio (no audio files): a coin per run, a low note
on failure, chimes for achievements and quests, a fanfare on level-up.
The header's speaker button mutes it and the choice is remembered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
The engine counts runs, failures and time saved per day (60 days kept).
The new stats button shows totals, a bar chart with hover details and a
table view, and the busiest combos.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
Levelling up shows a pack with the cards that level unlocks. Clicking it
tears it open, the cards flip in one by one, and clicking a card drops it
into the forge. Animations are skipped with prefers-reduced-motion.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wm8TE3zwYDLddBccTdRBqf
@coderabbitai

coderabbitai Bot commented Sep 29, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 6d5cf8b1-e0ba-458c-8b33-de62a2135da0


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Necromancervbh
Necromancervbh merged commit 8f6bfec into main Sep 29, 2026
7 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