The bar at the bottom will assign the random colour. I made this at school in 2 hours. Get to the correct colour in time before the switch. The rounds get faster each time. WASD or arrow keys to move.
All code by @Monty017