take off the penalty for hitting walls, and make a little pac character that follows the mouse. that would be improved. or make it so it doesnt cost lives to hit walls, only to hit ghosts. just make a restart for hitting walls.
nice concept, work a bit on execution, such as somewhat sharper graphics, and also some point to where youre going, and a way to repeat the level without resetting the page. loved it though, 5/5 easy