Skip to content

Add offline progress earning and notification - #10

Open
matalvernaz wants to merge 1 commit into
FioraXena:mainfrom
matalvernaz:feature/offline-progress
Open

Add offline progress earning and notification#10
matalvernaz wants to merge 1 commit into
FioraXena:mainfrom
matalvernaz:feature/offline-progress

Conversation

@matalvernaz

Copy link
Copy Markdown

Summary

  • Adds offline Mana earning (50% of active rate, capped at 8 hours)
  • Shows a "Welcome Back" notification on return
  • Fully accessible (ARIA live region, dismissible, screen reader announcement)

Closes #3

Test plan

  • Close the game, wait 2+ minutes, reopen — verify notification appears with correct Mana amount
  • Verify notification is announced by screen reader
  • Verify dismiss button works
  • Verify auto-dismiss after 15 seconds
  • Verify offline earnings are capped at 8 hours

🤖 Generated with Claude Code

Earn 50% of active Mana rate while offline (capped at 8 hours).
Shows an accessible "Welcome Back" notification with time away and
Mana earned, auto-dismissing after 15 seconds.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

Add offline progress for idle play

1 participant