Module 4 · In your browser · challenge 1 of 2 in this lesson
Include SURVIVAL_BONUS in each drill's earnings
A code cell with the real Luau runner grades it. No Studio needed.
Open
Level 1, Apprentice
Challenge
Fix roundsToAfford in the balance-check cell above so it includes SURVIVAL_BONUS and passes all three tests.
- Start from
- The game at milestone m06 (download)
- Check it here
- Run the code cell; the challenge completes when it passes. No Studio needed.
Done means
- Include SURVIVAL_BONUS in each drill's earnings
- Return the rounded-up number of drills needed to reach price
- All three assertions in balance-check pass