In the fourth part of the Hero Slide tutorial from Emanuele Feronato he adds in better explosion animations, and a check to see if a move is legal or not: "Talking about explosions, it wasn’t a nice effect due to a messy animation management, so in this 4th step we will see how to syncronize animations and don’t let new items appear if the player did not perform a legal move."
Hero Slide Tutorial Part 4
The fourth part of the tutorial series adds animations and legal-move checks.