Sure! Here's an example of a simple zombie survival endless shooter game implemented as a single HTML file using JavaScript, enclosed in script tags:
In this game, you control a player with your smartphone's touch/mouse movements. The objective is to survive against an endless wave of zombies. You can shoot bullets by tapping/clicking on the screen. If a zombie comes into contact with the player, the game is over and a dialog box will appear with a game over message.