Sure! Here's an example of a shooting game implemented as a single HTML file with JavaScript, enclosed in script tags, and designed for both PC and mobile devices using pictograms. The game will be playable once the page is loaded:
This is a simple shooting game where you control a blue player object that can move left and right using either keyboard (left and right arrow keys) or touch input (left and right side of the screen). The objective is to shoot down red bullets that fall from the top of the screen. It uses HTML5 canvas and updates the game at 60 frames per second.
Feel free to modify and enhance the code to add more features, levels, graphics, and animations as per your requirements. Enjoy!