Sure! Here's a simple implementation of Pac-Man in a single HTML file using JavaScript and pictograms:
To play the game, simply load the HTML file in a web browser on a smartphone or desktop and use the arrow keys to move Pac-Man around the game board. The objective is to collect dots ('.') and avoid colliding with the ghost ('G'). The game will show an alert when Pac-Man collides with the ghost, and you can then restart the game by tapping on "OK" in the alert box.