Sure! Here's an example of a simple fighting game using JavaScript and pictograms:
Note that the above code assumes you have an image file named "emozi_all/pig.png" in the same directory as the HTML file. You can replace it with any pictogram image you prefer. Additionally, you may need to adjust the canvas size and the pig's speed to suit your needs.
To play the game, simply open the HTML file with a web browser, and you will see a blue square representing the player and a pig pictogram on the screen. Use the up arrow key or "w" key to move the player up and avoid colliding with the pig. If the player collides with the pig, a game over message will be displayed. You can then either reload the page to play again or close the alert and continue.