Move the sprites around. When they collide, they stop moving and act as if they are hurt. Reset the program after this happens.