Great game.
I don't want to sound like a critic, but in my opinion it would be better if the ghost moved slightly faster than Pacman rather than the opposite, even from the first level of the game. This is exactly the behavior of the original https://abagames.github.io/crisp-game-lib-11-games/?pakupaku
This forces you to play strategically, deciding based on the position of the power pill whether to run towards it or run towards the edge of the screen to get to the other side.