So we did most of the work in the last section when we created the Entity class. We'll make a Ghost class here and have it inherit from Entity.
This class really couldn't be simpler. We're going to test the basic functionality of the Entity class. We will add more methods here though, but for now this is all we need to get something to move around the maze randomly. So that's nice.
We are almost finished, we just need to open up the run.py file to add a few more things. We'll import the Ghost class we just created. Then in the startGame method we'll just have it start on the same node Pacman is starting on. It doesn't matter at this point where they start. Then we need to update it and draw it to the screen.
When finished making the changes, you should just see a white circle moving around randomly. That white circle is our ghost.