I made changes to the program to fix the jumping. Now one needs only to
tap the up key to jump, but there is an issue with the acceleration im
thinking. The timer that checks whether the acceleration needs to act is
off. For instance, depending on when you run straight off the platform,
until the acceleration acts, your net downward velocity is zero. You are
running in mid air.