I was wondering if anyone could give me some pointer for the following project. I am creating a real-life running game with the arduino platform, in which the runner is wearing a wristband that gives the illusion that he is being chased. Although it is an arduino project, my question relates to the game programming side of it, which is why I was hoping people here might be able to help.
In the game, runners have to get to a finish line (say 3 km / 2 miles from starting point) and not get caught by the pursuer, who is behind him. At the start, this pursuer could be anywhere between 500m and 50m behind the runner (depending on the program). It is one-dimensional, in the sense that it doesn't matter which direction the runner is going in, his speed is used to determine how much distance he is covering. So basically the only input into the system is the speed of the runner.
I have little to no experience with algorithms that could determine different strategies for the pursuer. Basically the only outcome of this algorithm should be the speed of the pursuer, so I imagine it doesn't have to be too complicated. I want to find a strategy that gives the best type of game experience. For instance, the speed of the pursuer should be proportionate to the speed of the runner: if the pursuer is way too slow for the runner, there will be no excitement, if he is way too fast, the game will be too difficult. But the speed could not be completely proportionate to the runner's speed, that would be too predictable.
I don't really know where to begin. So I'm looking for any article, book or tutorial that covers this type of problem. I have tried google and forums, but I don't really know which search terms to use. Anyone an idea? Thanks in advance!