Sure, here's a simple implementation of the Pac-Man game in a single HTML file using JavaScript and pictograms:
Please note that this code provides a basic structure of the game. You would need to add the actual game logic, collision detection, movement behavior, and other necessary features to make it a fully functional Pac-Man game.