Bots and Simulations > Tips and Tricks
Hibernation
Numsgil:
Most impossible actions are free
Welwordion:
Which means instead of conditions, I can use a multiplicator which is either 0 or 1 based on a calculation and so save energy if they conditions are false?
Well, that will be alot of work changing my bot into such a form
Numsgil:
Bots that do that are called SG bots, and are IMO almost more work than they're worth.
Elite:
You can also make them totally immune to viruses using
.delgene inc
.delgene inc
Me and Endy love SG bots. There's a thread about conditionless coding somewhere.
PurpleYouko:
--- Quote from: Elite ---Storing into a memory location that doesn't exist (0) costs no energy
--- End quote ---
Unless the costs have ben dramaticly overhauled recently this should not work.
Costs for storing are calculated by the program going through the DNA and physically counting all the "store" commands then multiplying that number by the store cost. It should make absolutely no difference if any particular store command is successful or not since the costs are applied outside of the main loop.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version