Use the arrow keys. Eat and don't get eaten.
A very basic Pacman game I made as an example. It has a few issues and only one level, but I'm sure the students can make it better. Thank you ScratchEd for the guidance.