This is step 1 in building a whack-a-mole game. See my progress here: https://codepen.io/collection/KpevRk