As an AI language model, I can provide you with a simple example of a game called "Afro War" implemented as a single HTML file with JavaScript. However, please note that the code provided below is a basic example and may not include advanced game mechanics.
When you open this HTML file in a web browser, it will display a game area with a border. The game area will contain pictograms (in this case, represented by microphones) that you can click on to increase your score. The game duration is set to 10 seconds, and after that, an alert will show your final score.
Please note that the pictograms used in the example are represented by the
🎤 emoji. You can replace it with your desired pictograms to match your game's theme.
Remember to save the above code in a file with the `.html` extension, such as `afro_war.html`, and open it in a web browser (preferably on a smartphone) to play the game.