Sure, here's a simple game called "Kill Wolf Gun Sheep" implemented as a single HTML file with JavaScript embedded in script tags:
Kill Wolf Gun Sheep
In this game, you can control the gun's position using touch or click events. The objective is to shoot the wolf without hitting the sheep. The game starts with random positions for the wolf and sheep. If the gun overlaps with the wolf, a message "You killed the wolf!" is displayed. If the gun overlaps with the sheep, a message "Oops! You shot the sheep!" is displayed.