Sure! Here's a simple implementation of a Pac-Man game using HTML and JavaScript:
To play the game, open the HTML file in a web browser, and you can control Pac-Man using the arrow keys on your smartphone or computer. Pac-Man will move in the corresponding direction when an arrow key is pressed. Note that this is a simple implementation without any game logic or scoring system. You can enhance it by adding walls, ghosts, and collectibles.