On the first level, use the up arrow key to jump, and on the second level, use the down arrow key to duck. Avoid the lightning!
If you get past the second level, you win! I haven't coded any farther yet, but more levels will come!