As an AI language model, I can provide you with a basic implementation of the game you described. However, please note that creating a full-fledged game within the limitations of a single HTML file can be quite complex. The following code serves as a starting point and showcases the concept you mentioned. Feel free to modify and enhance it according to your needs:
In this implementation, 100 blue squares are generated randomly within the visible screen area. When a square is touched/clicked, it turns red briefly, simulating the throwing of a boomerang. The squares continuously move around due to their random positions.
Please note that this code provides a basic starting point and might require further enhancements and optimization, such as collision detection, additional boomerang behavior, scoring mechanics, etc., depending on the complexity of your game idea.