Welcome To Darwinbots > Newbie

HELLO EVERYONE

<< < (2/2)

Moonfisher:
I'm not sure that else is still working, it was ment to work together with the condition part of a gene, but I think it's broken.
You should also know that everything in the condition part of a gene gets and'ed together.
Other than that the operator work like regular boolean operators but using reverse notation.
So basicaly you start by pushing 2 values into the boolean stack and then you choose to and/or them.
Ex :
X Y !=
Y Z =
and

Will trigger if X != Y and Y = Z
And ofcourse this notation can get a litle confusing if you need to mix many conditions.
like :

X Y !=
Y Z =
and
X Y >
or

means if (X != Y and Y = Z) or (X > Y)

X Y !=
Y Z =
X Y >
and
or

means if (X != Y) and (Y = Z or X > Y)

Navigation

[0] Message Index

[*] Previous page

Go to full version