generated from nhcarrigan/template
feat: daily login bonus (consecutive login streak rewards) #21
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
Players earn a small bonus reward each day they log in, with escalating rewards for consecutive login streaks. Rewards reset to day 1 if a day is missed.
Design
Streak Mechanics
lastLoginDateandloginStreakstored on thePlayermodelReward Structure
Example progression (exact values to be tuned):
UI
Task Checklist
lastLoginDate: StringandloginStreak: InttoPlayerPrisma modelloginBonus.tsdata file defining rewards per dayGameStateon login✨ This issue was created with help from Hikari~ 🌸