Hey guys, im pretty new in here, no experience before in programing so I need help with some stuff, I need clear examples of the use of the OR/AND/ELSE commands or whatever they are called, need examples beacuse this place lacks any tutorial or info about them, also I need some help understanding how the one gene bots work because I dont understand how they get their conditions or how do they know against what to react....if do you know what I mean
Alright, so first off, always check the
wiki, there is some good stuff there, like
this.
The AND/ect. commands are called boolean operators. This means they only perform operations on booleans, and return booleans. On the linked operator page there are some very good examples of how they work, so there is no need for me to restate them.
There are some pretty good
resources in this forum about one gene bots actually. But, they work essentially just like a bot with multiple genes. As long as you don't have a cond block on your gene, the
conditionals will always be evaluated, not necessarily the the non-conditionals however.
start
False
''''Code that is never run
True
''''Code is always run
stop
If you have any specific questions feel free to ask.