use Space to jump. if you touch the top or bottom, you have to restart. use comments to tell me if anything doesn't work, and note that you can jump in midair.
sorry this took so long. some stuff happened. I added in the extra bit of challenge that everybody said that the original didn't have, and I changed the jump mechanics and fixed the glitch where you could go through platforms.