tracking a target

Google and robotic forums are your friend for researching your project. If you are allowed to define your target, make it an IR LED. You will first need to study how to perform the "detection", then how to perform the detection over and over again in a dynamic environment. If your target can "hide" behind obstacles then the detection will be very challaging. Research the simple line following bots and bots that run thru mazes for starters.