sneakarcher said:
A beacon that emits IR will be the target, and a sensor mounted on robot should measure the distance (might not accurate) between robot and target/beacon using the intensity of the IR.
[...]
Ideally range should be large, but I can cope with smaller range.
The subject of estimating distance from the intensity of reflected IR comes up once ever so often on this forum. In a general, estimating distance from
intensity of reflected light is not a working strategy. May be there is something about your target or rules of the game which may make this strategy work. May be there is not.