Once a player completes a challenge, mark it as completed in MongoDB, assign a new challenge after the reset period, and store the completed challenge history.
Tasks:
Mark challenges as completed in player_progress.
Assign new challenges to players after a daily/hourly reset.
Log completed challenges in a completed_challenges collection for record-keeping.
Once a player completes a challenge, mark it as completed in MongoDB, assign a new challenge after the reset period, and store the completed challenge history.
Tasks:
player_progress
.completed_challenges
collection for record-keeping.