by WillMorr · 8mo ago · 0 comments
I have no idea if anyone checks these threads after a week but not that it's over, I am super curious what strategies other folks used. I used a python script to pre-process my programs to minimize jumps and downloaded the sim to run an iterative optimizer with parallelization. I just put a little writeup and the code on github https://github.com/Will-Morr/MomentSwarm.
I wrote mine by hand just testing it using the in-browser simulator. I initially used subroutines to try to keep things structured but then resorted to inlining most things (and flattening as much state as I could to bare registers) to try to speed things up, though i never quite got my ants to always move within the 64 op step.
My best score on the official test set was 654 (43rd place). I put my code and a little write up here: https://github.com/cristoper/brain.ant
Interesting that you didn't use dead reckoning at all to return to the nest. I didn't think I could get away with that. And somehow using a second channel to extend the trails never occurred to me.