Click on the moles with the mallet to whack them.
Minor edits - made variables visible and the level flash more slowly.