basic functionality of a whack-a-mole game