We cleared up Pacman's movement for varying refresh rates, but we've yet to take care of things for our ghosts. To ensure our ghosts move at a standard rate regardless of a monitor's refresh rate, we need to implement some of the same functionality we added for Pacman, then refactor our collision detection and pathway finding mechanism to take into account a dynamic velocity.
In this lesson, I'll teach you every little thing you need to know to achieve that while making our code more readable and easier to understand.
I'll also show you how to animate Pacman's chomping mechanism at a consistent rate as a bonus.