With a pacman board...

Hey,
Thanks for doing the hard work. I fixed the bug, made a little bit of refactoring and had fun drawing the pacman board.
I realized the grid approach may cause a problem: having pacman moving slightly faster than the ghosts is gonna be tricky. But I guess it's not a mandatory feature.
Cheers