Seems to have a small bug, dead ghosts that are on their way back to the middle to be reborn can kill you while you are still able to eat the other ghosts.
They dont go back to the middle at all, they just wander around quickly for a few seconds then turn back.
I havent implemented the proper behaviour for ghosts yet, I just wanted to publish this now as it was mostly about the html5 issues, I can do the proper behaviour later.
yeh I was quite surprised that safari failed the test to play audio, usually when stuff works in chrome its ok in safari, I assume its some silly mistake on my end but as far as I can tell, safari doesnt support ogg audio at least.
I was just barely working on a pacman clone about two months ago... turned into mostly just research. It turns out the ghosts follow rather simple patterns between two modes (spread out / attack) which turn into complex behavior, mostly due to how they interact with each other.
was the best guide I found, its brilliantly in depth and covers more behaviour than I ever realised, like how the pacman turns corners. Pity I only found it after I mostly finished it.