jsPacman

An open-source remake of the classic Ms. Pac-Man arcade game, built with vanilla JavaScript, HTML and CSS. Sprites are DOM elements animated with CSS transforms and sound uses the Web Audio API.

Controls: arrow keys or swipe to move, Escape to pause and open the menu. Gamepads are supported (D-pad or analog stick, Start for the menu).

Source code on GitHub.