Difference between revisions of ".repro"

From WikiManual
Jump to: navigation, search
m
 
m
Line 1: Line 1:
In darwinbots there are three primary methods of reproduction. Mitoses, Sexual and Mutational.
+
__notoc__
 +
{| align="right"
 +
|-
 +
|{{Reproduction}}
 +
|}
  
 
==[[Sysvars]]:==
 
==[[Sysvars]]:==
{{Reproduction}}
+
 
 +
{{v221}} 300 [[.repro]] splits a bot in two by copiing self (mitosis) when a number > 0 is stored in it.
  
 
==Mitoses==
 
==Mitoses==
The simplest and most widely used method is .repro. This will allow a bot to reproduce an exact duplicate of itself. The number stored in .repro defines the percentage of [[energy]] and [[body]] to transfer into the child. Like all reproduction methods this takes a single cycle, after which a new bot is produced directly in front of you (ie: eye5) and facing you.
+
.repro is the simplesr and most widely used reproduction method. This will allow a bot to reproduce an exact duplicate of itself. The number stored in .repro defines the percentage of [[energy]] and [[body]] to transfer into the child. Like all reproduction methods this takes a single cycle, after which a new bot is produced directly in front of you (ie: eye5) and facing you.
  
 
While the eyes begin working immediatly for the newborn, it takes a cycle before the refs begin reading back. This can cause wasteful attacks by the child, a good idea then is to limit the childs firing until at least one cycle of age.
 
While the eyes begin working immediatly for the newborn, it takes a cycle before the refs begin reading back. This can cause wasteful attacks by the child, a good idea then is to limit the childs firing until at least one cycle of age.

Revision as of 08:22, 1 February 2006

Reproducing:

.robage 9
.mass 10
.timer 12
.repro 300
.mrepro 301
.sexrepro 302
.fertilized 303

Sysvars:

V221.gif 300 .repro splits a bot in two by copiing self (mitosis) when a number > 0 is stored in it.

Mitoses

.repro is the simplesr and most widely used reproduction method. This will allow a bot to reproduce an exact duplicate of itself. The number stored in .repro defines the percentage of energy and body to transfer into the child. Like all reproduction methods this takes a single cycle, after which a new bot is produced directly in front of you (ie: eye5) and facing you.

While the eyes begin working immediatly for the newborn, it takes a cycle before the refs begin reading back. This can cause wasteful attacks by the child, a good idea then is to limit the childs firing until at least one cycle of age.