I assume you are recording the movements for the ghosts, as opposed to their position? The ghosts were often quite different from what actually happened, causing me to quit on level 3. Saving the positions of the player instead of the movements I think would make this alot better and more consistent. I do think a puzzle game like this would be fun to play if the ghosts were more consistent. I also do feel level 3 was a large jump in difficulty from the previous levels, and couldn't figure out a solution, especially considering pressing R reset all the ghosts, forcing you to jump off the platform to keep them if you wanted to restart. (perhaps a full-reset and a soft-reset would be better?)