Organizing your code will help you understand or remember what each sub-program does. In the example on the right, the program for each control is arranged just as it would appear on the control panel.
Speed
Often games will gradually increase in speed in order to make the game more difficult. One way that we can do this is to use a variable for the WAIT time and then every time the clock ticks, the time gets reduced. Note that you will need to set an appropriate start time in the Startup.