Closed nicolec082202 closed 1 week ago
Description
lastLoggedInTime
currentHearts
firstTimeLogin
equippedBaby
foundEasterEgg
Task List
true
false
Acceptance Criteria
Resources / References
Description
lastLoggedInTime
: A timestamp representing the user's last login time.currentHearts
: An integer representing the user's current heart count.firstTimeLogin
: A boolean indicating whether this is the user's first login.equippedBaby
: A string representing the user's equipped NiceBaby, initially set to "NiceBaby_Monkey" and updated through ClosetView interactions.foundEasterEgg
: A boolean indicating whether the user found the easter egg.Task List
lastLoggedInTime
to the users collection:lastLoggedInTime
field as a timestamp.lastLoggedInTime
with the current timestamp every time the user logs in.currentHearts
to the users collection:currentHearts
as an integer field when a new user account is created.currentHearts
during gameplay interactions or as needed.firstTimeLogin
boolean to the users collection:firstTimeLogin
totrue
upon user account creation.firstTimeLogin
tofalse
after the first successful login and after any first-time-only logic (e.g., tutorials) is complete.foundEasterEgg
boolean to the users collection:foundEasterEgg
totrue
upon user finding easter egg.foundEasterEgg
tofalse
after user finds easter egg.equippedBaby
to the users collection:equippedBaby
to "NiceBaby_Monkey" by default when a new user account is created.equippedBaby
through ClosetView interactions whenever the user changes their equipped NiceBaby.Acceptance Criteria
lastLoggedInTime
is correctly updated with the current timestamp upon each user login.currentHearts
is correctly added and updated based on user interactions and app logic.firstTimeLogin
boolean is correctly set totrue
upon user creation and toggled tofalse
after the first login.equippedBaby
is correctly initialized to "NiceBaby_Monkey" and updates appropriately when changed in the ClosetView.Resources / References