and forgot to mention, the ghost will always find you no matter what, it launches rays trough every possible route and does a bit of math to calculate the quickest one to you (every tile it moves it updates) and you could also use the arrow keys to move if you'd like :)