Idk how easy it would be but it would be very cool if you instead used two laser matrixs, separated by a space
once the first matrix is broken it would time until the second one goes off, that time is your speed
This way its not mechanically sensitive and wil be more robust
You could either use a colored laser and play it in the dark, or infrared laser and just place markers for where the buttons are