I'm working on a school project and we have to create a tank team with the programming game Robocode (tank battle with self programmed bots in Java).
I have to program a scout bot that scans, finds enemies and reports this to the commander bot. Now I only can find out the distance and angle of the scanned enemy bot. How can I find the X and Y position of this bot with only the known variables?
Image is better then words, so: