Start here · In your browser

Challenge: tally a round

A code cell with the real Luau runner grades it. No Studio needed.

Open

Level 1, Apprentice

Challenge

Track a player's balance through three coin pickups and one Speed boost purchase, then print what is left.

Start from
The code cell below the challenge. Press Run to check it.
Check it here
Run the code cell; the challenge completes when it passes. No Studio needed.

Done means

  • coins starts at 10, gains three pickups of COIN_VALUE (5), then spends SPEED_PRICE (25)
  • The cell prints 'Coins left: 0'
  • Self-check, not graded: you use the variable names rather than writing 0 directly
Luau
Ctrl Enter runs the cell. Checked against the expected output