Sure! Here's a simple game implementation that meets your requirements:
In this game, the player needs to click on the box as many times as possible within a given time limit (30 seconds in this example). The box's color will change randomly on each click. Once the time is up, an alert will display the player's final score.
Please note that the provided solution is a basic implementation and can be further expanded and customized based on your specific requirements.