Below is my strategy for how the robot will win all the matches against any robot it battles
- Use Corners robot code to move to corners at start of battle, and look for a robot to attack
- Once robot detect Use Tracker robot to attack robot and fire
- If we hit a robot, fire and move back
- if we get by a bullet turn and move perpendicular to the bullet to seesaw
- Download code from https://github.com/robo-code/robocode
- On terminal where you downloaded code then run
./robocode.sh
- On GUI tabs click Robot -> Source Editor -> File -> Open -> NemushungwaVharevhawe.java
- File -> Save
- then compile robot, by clicking on Compiler
- On the GUI click Battle -> New
- Under package select vhare, then the NemushungwaVhare robot
- You can make it challenge any other robot
- Click battle