Bots and Simulations > Simulation Emporium
The Zen Challenge
Gobo:
I didn't feel it was hard
Here comes Tao (200 bytes). Beats Origami in F1 Contest easily.
--- Code: ---start
.tie inc
*.maxvel dup sqr .up store
*.eye4 *.eye6 sub .aimsx store
*.tiepres .tienum store
*.myeye div dup - .tieval store
dup dup mult *.nrg sub - sgn sqr mult .repro store
.tieloc dec
--- End code ---
Peter:
I am lauging in your faces, this is shorty. Beating both your bots
84 bytes
I never tried to made my bots as short as possible, maybe you have some ideas for a new shortbot-league setup. You are in fact making short shortbots.
Shortbot-league setup.
shorty
--- Code: ---start
*.maxvel *.vel sub .up store
*.eye4 *.eye6 sub .aimsx store
-6 .shoot store
--- End code ---
Numsgil:
Sorry Peter...
--- Quote from: MacadamiaNuts ---- You shall not use any constant values apart of the sysvar you are storing in.
--- End quote ---
Peter:
--- Quote from: Numsgil ---Sorry Peter...
--- Quote from: MacadamiaNuts ---- You shall not use any constant values apart of the sysvar you are storing in.
--- End quote ---
--- End quote ---
True, well I could revise it, still have 200-84=116 bytes left
But in that case isn't gobo's bot false too. Keeping value in .tie stuck at one.
Numsgil:
He's not using actual numbers, so I think it's valid. We'd need to ask Maca to be sure. You could maybe do:
.shoot dec .shoot dec .shoot dec .shoot dec .shoot dec .shoot dec
to do -6 .shoot store, if dec and inc are valid. Of course, that's alot of bytes spent! 65 I think.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version