HOW TO CREATE A BOT

1) The first thing you should know is the structure of a robot so that you can visualize where to go, turn or what to do. All bots have the same structure. Initially all the parts of your robot (The vehicle itself, the gun and the radar) look the same way. As you turn the bot, all the other components also turn unless you command otherwise.They also have fixed starting energies, give some of this to fire, lose some when they got hit, and earn back some when they damage another. When a robot has no energy remaining it gets disabled or destroyed.

Here is how a robot looks like. Its components look the same way and it has 100.0 energy at the beginning of the fight.

2) The second thing you should do is to open the editor and start writing your own robot's codes:

And start a new robot:

Then give your robot a name:

And then give the directory they will be put in a name:

Here is your first robot:

3) Now you should know how the system works:

The game proceeds in ticks, or frames. Each robot has a default behavior -a run function-, but also at each tick, each robot takes a series of information, coming in form of events (such as the ScannedRobot event when the scanner comes to alignment with another robot), which form a queue and are processed according to their priorities, processes it somehow, using other data it has always access to (such as its own position, heading etc., or in more sophisticated robots its target data and logs), and decides a course of action.

In the basic Robot class, there are several special functions other than the basic "while loop" in the run function(which your robot will continue doing forever unless another function is called) that are called whenever an event occurs (such as the OnScannedRobot function called on a ScannedRobot event).

The AdvancedRobot class -an extension of Robot- offers more sophisticated methods for event handling, in form of getAllEvents and similar functions. But the more important improvement that comes with the AdvancedRobot class is non-blocking function calls, which allow simultaneous actions (such as moving, turning body, gun and radar each, and firing at the same time) in one tick.

4)Now you should read the API documents to see what your robot can do. Also following the instructions in the links I have adviced you, you can more easily see what should be done.

5)Here the game begins, who will be the winner is up to your experience and imagination. Here is a scene where after 5rounds my bot called Last Amazon_v2 becomes the second..

Is your robot going to defeat all? All is up to you now, have fun!