Module 14 · In your browser · challenge 1 of 3 in this lesson
The tycoon
A code cell with the real Luau runner grades it. No Studio needed.
Open
Level 1, Apprentice
Challenge
The tycoon-order cell sorts by cost. Fix it so the button that pays back fastest comes first.
- 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
- The sort compares payback times, not costs
- A button that adds no income sorts last
- All four tests in tycoon-order pass