Sure! Here's a simplified example of an HTML file that implements a basic version of the Subway Surfers game with obstacles, using JavaScript and pictograms:
When you open the HTML file in a browser, you'll see a game container with a yellow player pictogram at the bottom. You can control the player by using the left and right arrow keys. Obstacles (red pictograms) will appear from the top and move towards the bottom. The goal is to avoid colliding with the obstacles while moving the player left or right.
Please note that this is a simplified version of the game and does not include features like scoring, power-ups, or graphics/animations as found in the original Subway Surfers.