Use the arrow keys or WASD to move the frog around. The aim is to catch the fly. When you catch it you gain energy. But each time you jump, you loose energy.
I made this for my Digital Design class.