Module 14 · In your browser · challenge 1 of 3 in this lesson
The shooter
A code cell with the real Luau runner grades it. No Studio needed.
Open
Level 1, Apprentice
Challenge
The ttk cell counts shots wrongly whenever the damage does not divide 100 exactly. Fix the rounding.
- Start from
- The game at milestone m14 (download)
- Check it here
- Run the code cell; the challenge completes when it passes. No Studio needed.
Done means
- Shots needed round up, so a partial shot still counts as a shot
- All five tests in ttk pass