Difference between revisions of "Robot Tutorial"

From WikiManual
Jump to: navigation, search
Line 1: Line 1:
A complete tutorial for Version 2.36
+
*[[Basic Bot Tutorial | Basic Bot]]
 
+
*[[Advanced Shot Bot Tutorial | Advanced Shot Bot]]
(please bear with me as I convert this help file from its older format to the newer version as many of the older controls will not work in quite the same way.)
+
*[[Tie Feeding Tutorial | Introduction to Tie Feeding]]
 
+
*[[Multibot Tutorial | Multibot Tutorial]] (very advanced, be sure you have a firm grasp on the DNA language and the simulation environment
+
*[[PY tutorial | Purple Youko's tutorial (old, but still very good)]]
 
 
 
 
 
What is a Command? A command is a memory location into which a value is stored in order to make the robot perform a certain operation. They are addressed via labels.
 
 
 
What is a label? A label is a name preceded by a period. Each command and function can be addressed either by a label or by using their numerical address. Examples of labels are .refeye or .up.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
*
 
 
 
 
 
 
 
 
 
 
 
 
(=) The 2 values are equal. != The 2 values are not equal. > The first value is greater than the second value. < The first value is less than the second value. (%=) The two values are almost equal (within 10%)
 
 
 
How do I create a robot?
 
 
 
In order to make a good robot, you need to give him three things.
 
 
 
The ability to find food.
 
2. The ability to eat the food. 3. The ability to reproduce.
 
 
 
 
[[Simple Bot]]
 
 
 
Tie Bots The next evolutionary step for a DarwinBot has to Tie destroyer). The name of my Devincio series of robots really says it all. Devincio is Latin for tie. All Devincio robots use ties to feed though some are better than others. Simplebot is able to defeat the first tie feeder bots with ease due to its amazingly efficient reproduction system. H_Devincio_Venator (HDV) was the robot that first started the tie feeders on their path to glory. HDV4 is a somewhat modified version of the original HDV and held the top spot until the birth of VEX. VEX was the first tie feeder to utilize the spinning search pattern that Simplebot uses and it gave him enough of an edge to unseat HDV.
 
 
 
What are ties? That is a good question. Ties are a feature of DarwinBots that was added in order to enable multiple individual DarwinBots to join up and form a multi cellular organism. A tie represents a defined relationship between two robots and is seen in DarwinBots as a thick line joining the two robots together. The tie keeps the robots in a fixed but flexible orientation to each other but only after a certain number of game cycles have passed. For the first 20 cycles the ties allow for free rotation of both robots.
 
 
 
, it may be used for reading information about the tied robot, sending instructions to the tied robot, waste transfer, venom transfer and energy transfer. Once hardened, the tie can also be set for length and orientation angle with respect to the robot on either end of it. It also enables sharing of waste, shell and slime.
 
 
 
For the time being we are not interested in hardened ties. If we wish to feed from the tie then we need to act fast, not wait 20 cycles before doing anything. The only thing we need to do is to utilize the energy transfer function to drain energy from the robot on the other end of the tie.
 
 
 
How do we make a tie? Actually creating a tie is quite easy. All you need to do is to store a the following examples I will lead you through the best way to create an efficient tie feeder and point out some of the pitfalls along the way.
 
[[Tie Feeder Tutorial]]
 
 
 
In the next part of this tutorial we will begin to delve into the complexities of creating stable Multi-Bots. If you think that the lessons you have learned this far have been complex then you are sadly mistaken. In order to make a Multi-Bot work properly we will need to learn a whole new set of rules.
 
 
 
Happy coding
 
 
 
Purple Youko
 

Revision as of 16:43, 18 September 2005