I need help writing code for a game where the main character is going through a maze, and someone is chasing the character, trying to destroy the character.
Will the chaser be like my dog, and be able to follow the scent of your player, or will they take a more random approach to working through the maze?
A lot of maze games use lists of locations and paths to represent a maze internally.
You might start with How To Work With lists.
See the first 4 articles at
i would say its like your dog chasing you
ok thank you i will take a look at these to help me out.
Then record the moves made by the player, then use this record to set the moves for the chaser, obviously with some time delay, but you may need to speed them up/down so that they can catch the player...
1 Like
ok thank you for the help!