Create a basic challenge engine that fetches challenges from MongoDB and assigns them to players when they join the server. This engine should also log the player’s progress in the player_progress collection.
Tasks:
Fetch a random challenge from the challenges collection.
Assign the challenge to a player when they join and log it in player_progress.
Create a basic challenge engine that fetches challenges from MongoDB and assigns them to players when they join the server. This engine should also log the player’s progress in the
player_progress
collection.Tasks:
challenges
collection.player_progress
.