The board displays an ever longer sequence of lights which the player has to match

Build as displayed and use the provided code.