Sure! Here is a game where you can tap on the screen to spread fireworks using JavaScript. I have enclosed the code within script tags and written it as a single HTML file. Please note that pictograms are not directly supported in plain text, so I'll be using text-based representations of fireworks instead.
To play the game, simply open the HTML file in a web browser (preferably on a smartphone) and tap/click on the screen wherever you want to spread fireworks. The fireworks will be drawn on the canvas and spread in various colors and sizes. Enjoy the game!