Bots and Simulations > Simulation Emporium

The Zen Challenge

(1/3) > >>

MacadamiaNuts:
I'm setting up challenges when I'm not even running them myself... well I promise I'll try this one. As long as the English literature classes let me.  

These are the conditions for the Zen Challenge:

- The code size must not be over 256 bytes -comments excluded. Which is like:

xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx

- You shall not use any constant values apart of the sysvar you are storing in.
- You shall not use flow commands, and you cannot do operations to the sysvar you are storing in (no 1G mults on the sysvar).

So this is fine:

*.eye5 .shootval store
*.tiepres *.mass sgn sub abs mult .tie store

(sorry, mass was the first sysvar that come to my mind)

but not:

1 .tie *.tiepres 1 sub abs mult store

Numsgil:
When you say code size, do you mean your bot.txt file can't be over 256 bytes?  Or that you can only use up to 256 DNA commands?

MacadamiaNuts:
The DNA code, stripped of all comments, must be 256 bytes. Not that the number really matters a lot, but it sounds cool.

MacadamiaNuts:
Sheesh... this is harder than I thought.

Here enters Origami (247 bytes):


--- Code: ---start
*.waste *.eye5 *.body div add *.genes add *.vel sub .up store
*.pleas .repro store
*.refeye *.myeye sub sgn *.eye5 sgn mult .shoot store
*.robage .eye5width store
*.refxpos *.refypos angle *.eye5 sgn *.refeye sgn sub mult .setaim store
stop
--- End code ---

Numsgil:
Ah, very nice.  Sort of reminds me of a neural net in its interconnected wackiness.

Navigation

[0] Message Index

[#] Next page

Go to full version