This really has potential to be a better game, in my opinion. But it has too many flaws:
Ironically, this is way too easy and short to a game that has "hard" in its title. I think the difficult can be improved by adding different types of ghosts (for example, one that keeps following you or try to shoot you), making the dots further from each other, and maybe increasing the size of the levels.
Also, you don't even have to eat all the dots to complete a level, all you have to do is eat the last one. Please fix this glitch, otherwise it will be almost impossible to make a cool game since you can cheat very easily.
In short, this could be a really great game by making it harder, creating more and longer levels and fixing the glitch I've mentioned before.