A light races along the row. Hit the button when it is on the target LED. Miss, and it speeds up to mock you.
The quickest bonus project here — it needs no new parts at all, just the five-LED array and one button you already had wired for Activity 2.8.
3V3 with Pin.PULL_DOWNThis is the project that needs positions rather than traversal. You cannot compare "where the light is" against "where the target is" without asking the list which LED, so leds[i] and the index i both matter here.
Target: LED 3
HIT! speeding up
Target: LED 1
miss slowing down
Target: LED 4
HIT! speeding up