Sure! Here's an example of a simple gun game implemented as a single HTML file using JavaScript:
Gun Game
Click on the target as many times as you can within 10 seconds!
Score: 0
Time: 10
This game is a simple click-based gun game where you have to click on the target as many times as you can within 10 seconds. The target will appear as a red square, and your score and remaining time will be displayed. When the game ends, an alert will show your final score.