Arrow keys to move, the yellow pellets give you a point, the blue pellets give you a point and the ability to eat ghosts for 5 secs. Also if you run into a ghost and you haven't eaten a blue pellet you die.
https://downloads.khinsider.com/game-soundtracks/album/pac-man-arcade for music You may remix this to create pacman stuff or even add more, but please give me credit.