Sure! Here's a simple racing game implemented as a single HTML file using JavaScript. Since you mentioned using pictograms, I'll use emojis for the visuals. Please copy the code below and save it as an HTML file to play the game:
This racing game features a player car and an enemy car represented by emojis. The player car can be controlled using the left and right arrow keys, and the goal is to avoid collisions with the enemy car for as long as possible. The score increases as the player car moves forward. When a collision occurs, the game ends, and the player's score is displayed.