Sure, here's a simple game inspired by Call of Duty, implemented as a single HTML file using JavaScript and enclosed in script tags:
🔫
In this game, you are shooting targets by tapping on the game screen, represented by the pistol emoji (
🔫). The game starts automatically and lasts for 10 seconds. Each successful shot increases your score, which is displayed on the game screen. After the game ends, an alert will show your final score, and the game can be played again by tapping on the screen.