I scored 77 on a PC.
It was primarily meant to be for smartphones, but thanks anyway.
Had to look away to steer my guy.
On smartphones, the Pacman is supposed to follow your finger, in the direction where you last tapped.
The ghosts didn't seem to care where I was headed.
Yes, on the first level, they move at random. On the second level, the orange starts to use DFS to get away from you (so that it's harder to score by killing it). On the third level, the red one starts to use BFS to get to you, and the orange starts to use DFS to away from it (to catch you when you run away from the red one), while the pink one starts to use the greedy algorithm to get to you (which is pretty much effectively random).
I believe my high-score was something around 6'000.
You can test most of the ios based devices using xcode if you have a Mac.
When it comes even the most basic animations, there is no guarantee that an app that works in a simulator would really work on iOS.
Also, look into cordova for publishing it to devices.
Thanks! I actually knew about Cordova, and it wasn't my intention to publish it to mobile devices. I just wanted to learn more about HTML5 and perhaps create some simple game for my new website. Besides, on Samsung Galaxy S3 Mini, it also works offline if downloaded and started in Chrome (though I suppose not many people know how to do that).